diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-26 19:14:04 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-12-26 19:14:04 +0000 |
| commit | ee02df7935ad4c747f64030bd2f3b8a98ab2c4c9 (patch) | |
| tree | f972d9ed5b203f8de267e41a93eb2c0272b6ea87 /src/plugins/General/notifier/notifier.cpp | |
| parent | 12442084d5cacdd65130f106dfe8df72d160d126 (diff) | |
| download | qmmp-ee02df7935ad4c747f64030bd2f3b8a98ab2c4c9.tar.gz qmmp-ee02df7935ad4c747f64030bd2f3b8a98ab2c4c9.tar.bz2 qmmp-ee02df7935ad4c747f64030bd2f3b8a98ab2c4c9.zip | |
status icon: fixed state tracking; notifier plugin: show test message
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@716 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/notifier/notifier.cpp')
| -rw-r--r-- | src/plugins/General/notifier/notifier.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/General/notifier/notifier.cpp b/src/plugins/General/notifier/notifier.cpp index 5bdba1595..d1254a78b 100644 --- a/src/plugins/General/notifier/notifier.cpp +++ b/src/plugins/General/notifier/notifier.cpp @@ -44,6 +44,8 @@ Notifier::Notifier(QObject *parent) connect (m_core, SIGNAL(metaDataChanged ()), SLOT(showMetaData())); connect (m_core, SIGNAL(stateChanged (Qmmp::State)), SLOT(setState(Qmmp::State))); connect (m_core, SIGNAL(volumeChanged(int, int)), SLOT(showVolume(int, int))); + if (m_core->state() == Qmmp::Playing) //test message + showMetaData(); } Notifier::~Notifier() @@ -54,9 +56,6 @@ void Notifier::setState(Qmmp::State state) switch ((uint) state) { case Qmmp::Playing: - { - break; - } case Qmmp::Paused: { break; |
