Skip to content

Commit 5e050a4

Browse files
committedAug 20, 2018
use Q_OS_MACOS instead of deprecated Q_WS_MAC
1 parent 444bf12 commit 5e050a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/plugins/grass/qtermwidget/tools.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ QString get_kb_layout_dir()
3333
//qDebug() << d.path();
3434
if (d.exists())
3535
return QCoreApplication::applicationDirPath() + "/kb-layouts/";
36-
#ifdef Q_WS_MAC
36+
#ifdef Q_OS_MACOS
3737
d.setPath(QCoreApplication::applicationDirPath() + "/../Resources/kb-layouts/");
3838
if (d.exists())
3939
return QCoreApplication::applicationDirPath() + "/../Resources/kb-layouts/";
@@ -68,7 +68,7 @@ QString get_color_schemes_dir()
6868
//qDebug() << d.path();
6969
if (d.exists())
7070
rval = QCoreApplication::applicationDirPath() + "/color-schemes/";
71-
#ifdef Q_WS_MAC
71+
#ifdef Q_OS_MACOS
7272
d.setPath(QCoreApplication::applicationDirPath() + "/../Resources/color-schemes/");
7373
if (d.exists())
7474
rval = QCoreApplication::applicationDirPath() + "/../Resources/color-schemes/";

0 commit comments

Comments
 (0)
Please sign in to comment.