From 829f84fe500f7ec8f1aed79fcd0f55badc0f4555 Mon Sep 17 00:00:00 2001 From: Ira Aspen Date: Tue, 9 Feb 2016 01:56:24 +0000 Subject: [PATCH] Moved from using hex QT version checks to QT_VERSION_CHECK(). --- cockatrice/src/tab_deck_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/tab_deck_editor.cpp b/cockatrice/src/tab_deck_editor.cpp index c960faf9..47b6f3ac 100644 --- a/cockatrice/src/tab_deck_editor.cpp +++ b/cockatrice/src/tab_deck_editor.cpp @@ -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();