From b4cfdf1eff7372b22a6c2692cf485545aada4159 Mon Sep 17 00:00:00 2001 From: Andrey Filipenkov Date: Sun, 17 Dec 2023 22:43:39 +0300 Subject: [PATCH] fix macOS build with Qt 6 --- qtbleditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtbleditor.cpp b/qtbleditor.cpp index f0b3b2a..3670865 100644 --- a/qtbleditor.cpp +++ b/qtbleditor.cpp @@ -1401,7 +1401,7 @@ QString QTblEditor::customColorsFilePath() const { #ifdef Q_OS_MAC #ifdef IS_QT5 - QString basePath = QStandardPaths::writableLocation(QStandardPaths::DataLocation); + QString basePath = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation); #else QString basePath = QDesktopServices::storageLocation(QDesktopServices::DataLocation); #endif