mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
qt5: ifdef two Q_DECLARE_METATYPE invocations out, for some reason they fail with Qt5
This commit is contained in:
@@ -61,5 +61,9 @@ private:
|
||||
DatabaseCommand_LoadAllPlaylists::SortAscDesc m_sortAscDesc;
|
||||
};
|
||||
|
||||
//FIXME: Qt5: this fails with Qt5, is it needed at all? It compiles fine without in Qt4 as well
|
||||
#if ! QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
|
||||
Q_DECLARE_METATYPE(QList<DatabaseCommand_LoadAllSortedPlaylists::SourcePlaylistPair>)
|
||||
#endif
|
||||
|
||||
#endif // DATABASECOMMAND_LOADALLSORTEDPLAYLISTS_H
|
||||
|
@@ -142,6 +142,9 @@ private:
|
||||
|
||||
};
|
||||
|
||||
//FIXME: Qt5: this fails with Qt5, is it needed at all? It compiles fine without in Qt4 as well
|
||||
#if ! QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )
|
||||
Q_DECLARE_METATYPE( DatabaseCommand_LoadSocialActions::TrackActions )
|
||||
#endif
|
||||
|
||||
#endif // DATABASECOMMAND_LOADSOCIALACTIONS_H
|
||||
|
Reference in New Issue
Block a user