summaryrefslogtreecommitdiffstats
path: root/examples/tools/settingseditor/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tools/settingseditor/mainwindow.cpp')
-rw-r--r--examples/tools/settingseditor/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tools/settingseditor/mainwindow.cpp b/examples/tools/settingseditor/mainwindow.cpp
index 6b875f3a24..fc389cd009 100644
--- a/examples/tools/settingseditor/mainwindow.cpp
+++ b/examples/tools/settingseditor/mainwindow.cpp
@@ -170,10 +170,10 @@ void MainWindow::createActions()
aboutQtAct = new QAction(tr("About &Qt"), this);
connect(aboutQtAct, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
-#ifndef Q_WS_MAC
+#ifndef Q_OS_MAC
openPropertyListAct->setEnabled(false);
#endif
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
openRegistryPathAct->setEnabled(false);
#endif
}