From 4ae5917d9b834cf29b8807487dc7e8b49d5a67d6 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 15 Oct 2014 05:51:51 +0000 Subject: 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 --- src/qmmp/qmmpaudioengine.cpp | 1 - src/qmmp/soundcore.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); 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"); m_instance = this; m_engine = 0; m_nextState = NO_ENGINE; -- cgit v1.2.3-13-gbd6f