diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-16 12:02:14 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-18 12:51:18 +0100 |
commit | 44cf5592acf97ecb2c83e9d7451de08b97498036 (patch) | |
tree | a9127444b50906e10f036edc718bdb8b74feaf80 /tests/auto/gui/painting/qpainter/tst_qpainter.cpp | |
parent | 4f25e66f7a7269af0002bfe4b1c5caa941c6ee64 (diff) |
Replace Q_WS_MAC with Q_OS_MAC in tests/auto/gui
Change-Id: I6d69ac96597f27575dd40e4c80c982f06fa88f51
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'tests/auto/gui/painting/qpainter/tst_qpainter.cpp')
-rw-r--r-- | tests/auto/gui/painting/qpainter/tst_qpainter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp index 4abaa34df8..1cd0a072fd 100644 --- a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp +++ b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp @@ -453,7 +453,7 @@ QRgb qt_compose_alpha(QRgb source, QRgb dest) */ void tst_QPainter::drawPixmap_comp() { -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC QSKIP("Mac has other ideas about alpha composition"); #endif QFETCH(uint, dest); @@ -1363,7 +1363,7 @@ void tst_QPainter::drawRoundRect() QFETCH(QRect, rect); QFETCH(bool, usePen); -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC if (QTest::currentDataTag() == QByteArray("rect(6, 12, 3, 14) with pen") || QTest::currentDataTag() == QByteArray("rect(6, 17, 3, 25) with pen") || QTest::currentDataTag() == QByteArray("rect(10, 6, 10, 3) with pen") || |