diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-10-13 18:11:43 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-10-13 18:11:43 +0000 |
| commit | afdd32544a01ed5ebdd4e849dd3e2a70b39a82a7 (patch) | |
| tree | 4d8513b9d8903e89b3fb27c9bdea676c9077d776 | |
| parent | 2aa6cc8998f66a556c43577809d7e30b0ab6cd5b (diff) | |
| download | qmmp-afdd32544a01ed5ebdd4e849dd3e2a70b39a82a7.tar.gz qmmp-afdd32544a01ed5ebdd4e849dd3e2a70b39a82a7.tar.bz2 qmmp-afdd32544a01ed5ebdd4e849dd3e2a70b39a82a7.zip | |
fixed problem with error states
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1312 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/soundcore.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmmp/soundcore.cpp b/src/qmmp/soundcore.cpp index 858878a08..671a83348 100644 --- a/src/qmmp/soundcore.cpp +++ b/src/qmmp/soundcore.cpp @@ -108,7 +108,9 @@ void SoundCore::stop() //update VolumeControl delete m_volumeControl; m_volumeControl = VolumeControl::create(this); - connect(m_volumeControl, SIGNAL(volumeChanged(int, int)), SIGNAL(volumeChanged(int, int))); + connect(m_volumeControl, SIGNAL(volumeChanged(int, int)), SIGNAL(volumeChanged(int, int))); + if(state() == Qmmp::NormalError || state() == Qmmp::FatalError) //clear error state + StateHandler::instance()->dispatch(Qmmp::Stopped); } void SoundCore::pause() |
