diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/qmmp/qmmpaudioengine.cpp | 1 | ||||
| -rw-r--r-- | src/qmmp/soundcore.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmp/qmmpaudioengine.cpp b/src/qmmp/qmmpaudioengine.cpp index 45ea3bbcd..1d62f741b 100644 --- a/src/qmmp/qmmpaudioengine.cpp +++ b/src/qmmp/qmmpaudioengine.cpp @@ -40,7 +40,6 @@ QmmpAudioEngine::QmmpAudioEngine(QObject *parent) : AbstractEngine(parent), m_factory(0), m_output(0) { - qRegisterMetaType<Qmmp::State>("Qmmp::State"); m_output_buf = 0; m_output_size = 0; m_bks = 0; diff --git a/src/qmmp/soundcore.cpp b/src/qmmp/soundcore.cpp index 97eecfab7..fa29d8a94 100644 --- a/src/qmmp/soundcore.cpp +++ b/src/qmmp/soundcore.cpp @@ -42,6 +42,7 @@ SoundCore::SoundCore(QObject *parent) { if(m_instance) qFatal("SoundCore: only one instance is allowed"); + qRegisterMetaType<Qmmp::State>("Qmmp::State"); m_instance = this; m_engine = 0; m_nextState = NO_ENGINE; |
