mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Moved from using hex QT version checks to QT_VERSION_CHECK().
This commit is contained in:
parent
0ef2b48902
commit
829f84fe50
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue