mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 01:54:07 +02:00
Qt5 sometimes defines Metatypes by itself, don't define them twice
This commit is contained in:
@@ -287,6 +287,10 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_METATYPE( QSharedPointer< Tomahawk::Playlist > )
|
Q_DECLARE_METATYPE( QSharedPointer< Tomahawk::Playlist > )
|
||||||
Q_DECLARE_METATYPE( QList< QSharedPointer< Tomahawk::Query > > )
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
|
// Qt5 automatically generated this Metatype
|
||||||
|
Q_DECLARE_METATYPE( QList< QSharedPointer< Tomahawk::Query > > )
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // PLAYLIST_H
|
#endif // PLAYLIST_H
|
||||||
|
@@ -87,6 +87,9 @@ private:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QList<QStringList>);
|
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
|
// Qt5 automatically generated this Metatype
|
||||||
|
Q_DECLARE_METATYPE(QList<QStringList>)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // DATABASECOMMAND_GENERICSELECT_H
|
#endif // DATABASECOMMAND_GENERICSELECT_H
|
||||||
|
Reference in New Issue
Block a user