1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Move infosystem register meta types to the location as the other register

statements
This commit is contained in:
Jeff Mitchell
2011-04-19 08:48:02 -04:00
parent 43834a17bc
commit b9f80edea9
2 changed files with 5 additions and 4 deletions

View File

@@ -74,10 +74,6 @@ InfoSystem::InfoSystem(QObject *parent)
s_instance = this; s_instance = this;
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
qRegisterMetaType< QMap< QString, QMap< QString, QString > > >( "Tomahawk::InfoSystem::InfoGenericMap" );
qRegisterMetaType< QHash< QString, QVariant > >( "Tomahawk::InfoSystem::InfoCustomData" );
qRegisterMetaType< QHash< QString, QString > >( "Tomahawk::InfoSystem::InfoCriteriaHash" );
qRegisterMetaType< Tomahawk::InfoSystem::InfoType >( "Tomahawk::InfoSystem::InfoType" );
m_infoSystemCacheThreadController = new QThread( this ); m_infoSystemCacheThreadController = new QThread( this );
m_cache = new InfoSystemCache(); m_cache = new InfoSystemCache();

View File

@@ -371,6 +371,11 @@ TomahawkApp::registerMetaTypes()
qRegisterMetaType< Tomahawk::QID >("Tomahawk::QID"); qRegisterMetaType< Tomahawk::QID >("Tomahawk::QID");
qRegisterMetaType< AudioErrorCode >("AudioErrorCode"); qRegisterMetaType< AudioErrorCode >("AudioErrorCode");
qRegisterMetaType< QMap< QString, QMap< QString, QString > > >( "Tomahawk::InfoSystem::InfoGenericMap" );
qRegisterMetaType< QHash< QString, QVariant > >( "Tomahawk::InfoSystem::InfoCustomData" );
qRegisterMetaType< QHash< QString, QString > >( "Tomahawk::InfoSystem::InfoCriteriaHash" );
qRegisterMetaType< Tomahawk::InfoSystem::InfoType >( "Tomahawk::InfoSystem::InfoType" );
} }