Moved from using hex QT version checks to QT_VERSION_CHECK().

This commit is contained in:
Ira Aspen 2016-02-09 01:56:24 +00:00
parent 0ef2b48902
commit 829f84fe50

View file

@ -876,7 +876,7 @@ void TabDeckEditor::actOpenCustomsetsFolder() {
void TabDeckEditor::actAddCustomSet()
{
#if QT_VERSION < 0x050000
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
QString dataDir = QDesktopServices::storageLocation(QDesktopServices::DataLocation);
#else
QString dataDir = QStandardPaths::standardLocations(QStandardPaths::DataLocation).first();