From c9ef27dcdabc9a7fdeea710160aee7dfb79a7811 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 9 Sep 2013 04:47:46 +0000 Subject: removed useless variables git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3694 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/soundcore.cpp | 4 +--- src/qmmp/soundcore.h | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src') 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 m_metaData; QHash m_streamInfo; - Decoder* m_decoder; QString m_url; - QList m_visuals; - QWidget *m_parentWidget; static SoundCore* m_instance; StateHandler *m_handler; VolumeControl *m_volumeControl; -- cgit v1.2.3-13-gbd6f