summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-01-16 11:49:53 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-23 09:32:43 +0100
commitba21ca7b5b4b92996c93a0dc4137ea181c4eb79c (patch)
treedec5949a8ff5ed31bb847718c3766907687b7057 /tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
parentfdedb49b76b8f9ad69611fbfea6b8371ae1ec3a1 (diff)
Replace Q_WS_MAC with Q_OS_MAC in tests/auto/widgets
tst_qwidget.cpp will not build/link without tst_qwidget_mac_helpers.mm, so re-add it to the build as well. Change-Id: I55130f62c215c4b82683d90456e31fdb09f833a8 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests/auto/widgets/styles/qstyle/tst_qstyle.cpp')
-rw-r--r--tests/auto/widgets/styles/qstyle/tst_qstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
index 9c40c0c97b..7f503a570f 100644
--- a/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
+++ b/tests/auto/widgets/styles/qstyle/tst_qstyle.cpp
@@ -75,7 +75,7 @@
#include <QCleanlooksStyle>
-#ifdef Q_WS_MAC
+#ifdef Q_OS_MAC
#include <QMacStyle>
#endif
@@ -561,7 +561,7 @@ qDebug("TEST PAINTING");
void tst_QStyle::testMacStyle()
{
-#ifdef Q_WS_MAC
+#ifdef Q_OS_MAC
QMacStyle mstyle;
QVERIFY(testAllFunctions(&mstyle));
#endif