diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-01-09 17:09:02 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-01-09 17:09:02 +0000 |
| commit | c9d299b4ac4e434e6f6ea53d22b65dc0cca5f67d (patch) | |
| tree | 316f4e8017ab02b2ef79362affd4bb1fa74adc34 /src/qmmpui | |
| parent | 7e38f3d305f9eb2809ff6740a83b1c915902cf0f (diff) | |
| download | qmmp-c9d299b4ac4e434e6f6ea53d22b65dc0cca5f67d.tar.gz qmmp-c9d299b4ac4e434e6f6ea53d22b65dc0cca5f67d.tar.bz2 qmmp-c9d299b4ac4e434e6f6ea53d22b65dc0cca5f67d.zip | |
fixed regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4683 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/playlistmodel.cpp | 5 | ||||
| -rw-r--r-- | src/qmmpui/playlistmodel.h | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index 32e0619ff..41297b0a3 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -887,9 +887,8 @@ void PlayListModel::onTaskFinished() void PlayListModel::doCurrentVisibleRequest() { - //TODO check these signals - //emit currentChanged(); - //emit listChanged(); + if(!m_container->isEmpty()) + emit currentVisibleRequest(); } void PlayListModel::loadPlaylist(const QString &f_name) diff --git a/src/qmmpui/playlistmodel.h b/src/qmmpui/playlistmodel.h index c5cc63058..31eb36e58 100644 --- a/src/qmmpui/playlistmodel.h +++ b/src/qmmpui/playlistmodel.h @@ -332,6 +332,9 @@ signals: */ void loaderFinished(); + + void currentVisibleRequest(); + public slots: /*! * Adds \b track to the playlist. @@ -419,9 +422,7 @@ public slots: * @param parent parent Widget. */ void showDetails(QWidget *parent = 0); - /*! - * Emits update signals manually. - */ + void doCurrentVisibleRequest(); /*! * Randomly changes items order. |
