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()
|
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();
|
||||||
|
|
Loading…
Reference in a new issue