aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/General/history/history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/history/history.cpp b/src/plugins/General/history/history.cpp
index 0f0c4249f..858e751c0 100644
--- a/src/plugins/General/history/history.cpp
+++ b/src/plugins/General/history/history.cpp
@@ -31,7 +31,7 @@
History::History(QObject *parent) : QObject(parent)
{
- m_previousState = Qmmp::Stopped;
+ m_core = SoundCore::instance();
connect(m_core, SIGNAL(trackInfoChanged()), SLOT(onTrackInfoChanged()));
connect(m_core, SIGNAL(stateChanged(Qmmp::State)), SLOT(onStateChanged(Qmmp::State)));