diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-15 05:51:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-15 05:51:51 +0000 |
| commit | 4ae5917d9b834cf29b8807487dc7e8b49d5a67d6 (patch) | |
| tree | 428433088e041db1bacbece4f327ac6ee627733d /src | |
| parent | a282a523334bcb421162abb1e84c478d789555f0 (diff) | |
| download | qmmp-4ae5917d9b834cf29b8807487dc7e8b49d5a67d6.tar.gz qmmp-4ae5917d9b834cf29b8807487dc7e8b49d5a67d6.tar.bz2 qmmp-4ae5917d9b834cf29b8807487dc7e8b49d5a67d6.zip | |
moved type name registration to SoundCore
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4577 90c681e8-e032-0410-971d-27865f9a5e38
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; |
