diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-12-02 16:23:35 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-12-02 16:23:35 +0000 |
| commit | 4221ec3ded28ad7c9a6c959cc538d4df4c3c392d (patch) | |
| tree | a84a21dde5f2fb8271e0937c6f2c7924000b886c /src/qmmpui/playlistmodel.cpp | |
| parent | 92f19e1416b0c93fb36801665583eab463145b56 (diff) | |
| download | qmmp-4221ec3ded28ad7c9a6c959cc538d4df4c3c392d.tar.gz qmmp-4221ec3ded28ad7c9a6c959cc538d4df4c3c392d.tar.bz2 qmmp-4221ec3ded28ad7c9a6c959cc538d4df4c3c392d.zip | |
removed unused code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1414 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/playlistmodel.cpp')
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index fd7035881..1db931f2f 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -177,6 +177,12 @@ bool PlayListModel::setCurrent(int c) bool PlayListModel::next() { + if (!isEmptyQueue()) + { + setCurrentToQueued(); + return TRUE; + } + if (isFileLoaderRunning()) m_play_state->prepare(); return m_play_state->next(); |
