Skip to content

Commit

Permalink
fix macOS build with Qt 6
Browse files Browse the repository at this point in the history
  • Loading branch information
kambala-decapitator committed Dec 17, 2023
1 parent 887d186 commit b4cfdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qtbleditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4cfdf1

Please sign in to comment.