diff options
Diffstat (limited to 'examples/tools/settingseditor')
-rw-r--r-- | examples/tools/settingseditor/mainwindow.cpp | 4 | ||||
-rw-r--r-- | examples/tools/settingseditor/settingseditor.pro | 4 |
2 files changed, 2 insertions, 6 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 } diff --git a/examples/tools/settingseditor/settingseditor.pro b/examples/tools/settingseditor/settingseditor.pro index 788b4def0b..79bcdf5dfe 100644 --- a/examples/tools/settingseditor/settingseditor.pro +++ b/examples/tools/settingseditor/settingseditor.pro @@ -14,10 +14,6 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS settingseditor.pro inifi sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tools/settingseditor INSTALLS += target sources -symbian: CONFIG += qt_example QT += widgets -maemo5: CONFIG += qt_example -symbian: warning(This example might not fully work on Symbian platform) -maemo5: warning(This example might not fully work on Maemo platform) simulator: warning(This example might not fully work on Simulator platform) |