Commit 829f84fe authored by Ira Aspen's avatar Ira Aspen
Browse files

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

parent 0ef2b489
...@@ -876,7 +876,7 @@ void TabDeckEditor::actOpenCustomsetsFolder() { ...@@ -876,7 +876,7 @@ void TabDeckEditor::actOpenCustomsetsFolder() {
void TabDeckEditor::actAddCustomSet() void TabDeckEditor::actAddCustomSet()
{ {
#if QT_VERSION < 0x050000 #if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
QString dataDir = QDesktopServices::storageLocation(QDesktopServices::DataLocation); QString dataDir = QDesktopServices::storageLocation(QDesktopServices::DataLocation);
#else #else
QString dataDir = QStandardPaths::standardLocations(QStandardPaths::DataLocation).first(); QString dataDir = QStandardPaths::standardLocations(QStandardPaths::DataLocation).first();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment