aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistmanager.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-09-08 11:49:28 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2019-09-08 11:49:28 +0000
commit463f4e95cff0e100b4c8c8b5378cfe1b2604c138 (patch)
treecb73da70a910165d5715d6fc20c11587454c4133 /src/qmmpui/playlistmanager.cpp
parent1e31fe896524513577911e382897b841e40a4814 (diff)
downloadqmmp-463f4e95cff0e100b4c8c8b5378cfe1b2604c138.tar.gz
qmmp-463f4e95cff0e100b4c8c8b5378cfe1b2604c138.tar.bz2
qmmp-463f4e95cff0e100b4c8c8b5378cfe1b2604c138.zip
fixed possible regressions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9068 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmanager.cpp')
-rw-r--r--src/qmmpui/playlistmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmpui/playlistmanager.cpp b/src/qmmpui/playlistmanager.cpp
index d04c6de15..dc6145480 100644
--- a/src/qmmpui/playlistmanager.cpp
+++ b/src/qmmpui/playlistmanager.cpp
@@ -349,7 +349,7 @@ void PlayListManager::writePlayLists()
plFile.write(QString("playlist=%1\n").arg(model->name()).toUtf8());
if(model->isEmpty())
continue;
- QList<PlayListItem *> items = model->items();
+ const QList<PlayListItem *> items = model->items();
plFile.write(QString("current=%1\n").arg(model->indexOfTrack(model->currentIndex())).toUtf8());
for(PlayListItem *m : qAsConst(items))
{