mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-17 07:22:01 -08:00
Moved from using hex QT version checks to QT_VERSION_CHECK().
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user