mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Register QList<unit> manually.
This commit is contained in:
parent
c7ac6b5670
commit
f542e97a70
@ -155,8 +155,6 @@ TomahawkApp::init()
|
||||
QFontMetrics fm( f );
|
||||
TomahawkUtils::setHeaderHeight( fm.height() + 8 );
|
||||
|
||||
registerMetaTypes();
|
||||
|
||||
new TomahawkSettings( this );
|
||||
TomahawkSettings* s = TomahawkSettings::instance();
|
||||
|
||||
@ -359,11 +357,12 @@ void
|
||||
TomahawkApp::registerMetaTypes()
|
||||
{
|
||||
qRegisterMetaType< QSharedPointer<DatabaseCommand> >("QSharedPointer<DatabaseCommand>");
|
||||
qRegisterMetaType< QList<QVariantMap> >("QList<QVariantMap>");
|
||||
qRegisterMetaType< DBSyncConnection::State >("DBSyncConnection::State");
|
||||
qRegisterMetaType< msg_ptr >("msg_ptr");
|
||||
qRegisterMetaType< QList<dbop_ptr> >("QList<dbop_ptr>");
|
||||
qRegisterMetaType< QList<QVariantMap> >("QList<QVariantMap>");
|
||||
qRegisterMetaType< QList<QString> >("QList<QString>");
|
||||
qRegisterMetaType< QList<uint> >("QList<uint>");
|
||||
qRegisterMetaType< Connection* >("Connection*");
|
||||
qRegisterMetaType< QAbstractSocket::SocketError >("QAbstractSocket::SocketError");
|
||||
qRegisterMetaType< QTcpSocket* >("QTcpSocket*");
|
||||
|
Loading…
x
Reference in New Issue
Block a user