mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-19 04:11:46 +02:00
Register InfoSystemCache* metatype
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Tomahawk
|
||||
namespace InfoSystem
|
||||
{
|
||||
|
||||
class InfoSystemCache : public QObject
|
||||
class DLLEXPORT InfoSystemCache : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -71,4 +71,6 @@ private:
|
||||
|
||||
} //namespace Tomahawk
|
||||
|
||||
Q_DECLARE_METATYPE( Tomahawk::InfoSystem::InfoSystemCache* );
|
||||
|
||||
#endif //TOMAHAWK_INFOSYSTEMCACHE_H
|
||||
|
@@ -404,6 +404,7 @@ TomahawkApp::registerMetaTypes()
|
||||
qRegisterMetaType< Tomahawk::DynamicPlaylistRevision >("Tomahawk::DynamicPlaylistRevision");
|
||||
qRegisterMetaType< Tomahawk::QID >("Tomahawk::QID");
|
||||
|
||||
qRegisterMetaType< Tomahawk::InfoSystem::InfoSystemCache* >( "Tomahawk::InfoSystem::InfoSystemCache*" );
|
||||
qRegisterMetaType< Tomahawk::InfoSystem::InfoStringHash >( "Tomahawk::InfoSystem::InfoStringHash" );
|
||||
qRegisterMetaType< Tomahawk::InfoSystem::InfoType >( "Tomahawk::InfoSystem::InfoType" );
|
||||
qRegisterMetaType< Tomahawk::InfoSystem::PushInfoFlags >( "Tomahawk::InfoSystem::PushInfoFlags" );
|
||||
|
Reference in New Issue
Block a user