Skip to content
Permalink
Browse files

use Q_OS_MACOS instead of deprecated Q_WS_MAC

  • Loading branch information
3nids committed Aug 20, 2018
1 parent 444bf12 commit 5e050a47ebc10c9ba8a498ee2172059a11a0177b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qtermwidget/tools.cpp
@@ -33,7 +33,7 @@ QString get_kb_layout_dir()
//qDebug() << d.path();
if (d.exists())
return QCoreApplication::applicationDirPath() + "/kb-layouts/";
#ifdef Q_WS_MAC
#ifdef Q_OS_MACOS
d.setPath(QCoreApplication::applicationDirPath() + "/../Resources/kb-layouts/");
if (d.exists())
return QCoreApplication::applicationDirPath() + "/../Resources/kb-layouts/";
@@ -68,7 +68,7 @@ QString get_color_schemes_dir()
//qDebug() << d.path();
if (d.exists())
rval = QCoreApplication::applicationDirPath() + "/color-schemes/";
#ifdef Q_WS_MAC
#ifdef Q_OS_MACOS
d.setPath(QCoreApplication::applicationDirPath() + "/../Resources/color-schemes/");
if (d.exists())
rval = QCoreApplication::applicationDirPath() + "/../Resources/color-schemes/";

0 comments on commit 5e050a4

Please sign in to comment.
You can’t perform that action at this time.