aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmp/statehandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qmmp/statehandler.cpp b/src/qmmp/statehandler.cpp
index e2f3f6d5a..520346bde 100644
--- a/src/qmmp/statehandler.cpp
+++ b/src/qmmp/statehandler.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2009 by Ilya Kotov *
+ * Copyright (C) 2008-2010 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -138,9 +138,8 @@ void StateHandler::dispatch(Qmmp::State state)
m_channels = 0;
m_next_engine = 0;
m_metaData.clear();
- }
- if(state == Qmmp::Playing)
m_sendAboutToFinish = true;
+ }
if (m_state != state)
{
QStringList states;