aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qmmp/soundcore.cpp4
-rw-r--r--src/qmmp/soundcore.h4
2 files changed, 1 insertions, 7 deletions
diff --git a/src/qmmp/soundcore.cpp b/src/qmmp/soundcore.cpp
index d3950c45b..396a6f361 100644
--- a/src/qmmp/soundcore.cpp
+++ b/src/qmmp/soundcore.cpp
@@ -43,12 +43,10 @@ SoundCore::SoundCore(QObject *parent)
if(m_instance)
qFatal("SoundCore: only one instance is allowed");
m_instance = this;
- m_decoder = 0;
- m_parentWidget = 0;
m_engine = 0;
m_nextState = NO_ENGINE;
m_handler = new StateHandler(this);
- m_volumeControl = new VolumeControl(this);
+ m_volumeControl = new VolumeControl(this);
connect(m_handler, SIGNAL(elapsedChanged(qint64)), SIGNAL(elapsedChanged(qint64)));
connect(m_handler, SIGNAL(bitrateChanged(int)), SIGNAL(bitrateChanged(int)));
connect(m_handler, SIGNAL(frequencyChanged(quint32)), SIGNAL(frequencyChanged(quint32)));
diff --git a/src/qmmp/soundcore.h b/src/qmmp/soundcore.h
index 62481ba28..6e3493f3c 100644
--- a/src/qmmp/soundcore.h
+++ b/src/qmmp/soundcore.h
@@ -31,7 +31,6 @@
#include "qmmpsettings.h"
#include "eqsettings.h"
-class QIODevice;
class VolumeControl;
class AbstractEngine;
class InputSource;
@@ -226,10 +225,7 @@ private:
};
QMap <Qmmp::MetaData, QString> m_metaData;
QHash <QString, QString> m_streamInfo;
- Decoder* m_decoder;
QString m_url;
- QList <Visual*> m_visuals;
- QWidget *m_parentWidget;
static SoundCore* m_instance;
StateHandler *m_handler;
VolumeControl *m_volumeControl;