summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2009-07-22 16:28:18 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2009-07-22 16:28:42 (GMT)
commitd1eca480acd39c478957e39243ff61b55c0113b4 (patch)
tree74f0bb56dd5d0daeb2869a77f87727f21213df5c /tests
parentf81fcf7ea92e3d2a2291cca9b4908f5303dab00d (diff)
downloadQt-d1eca480acd39c478957e39243ff61b55c0113b4.zip
Qt-d1eca480acd39c478957e39243ff61b55c0113b4.tar.gz
Qt-d1eca480acd39c478957e39243ff61b55c0113b4.tar.bz2
Fix autotest compile failure
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qtoolbar/tst_qtoolbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtoolbar/tst_qtoolbar.cpp b/tests/auto/qtoolbar/tst_qtoolbar.cpp
index 002ea04..856a935 100644
--- a/tests/auto/qtoolbar/tst_qtoolbar.cpp
+++ b/tests/auto/qtoolbar/tst_qtoolbar.cpp
@@ -797,8 +797,8 @@ void tst_QToolBar::toolButtonStyle()
QCOMPARE(tb.toolButtonStyle(), Qt::ToolButtonTextUnderIcon);
QCOMPARE(spy.count(), 0);
- tb.setToolButtonStyle(Qt::ToolButtonSystemDefault);
- QCOMPARE(tb.toolButtonStyle(), Qt::ToolButtonSystemDefault);
+ tb.setToolButtonStyle(Qt::ToolButtonFollowStyle);
+ QCOMPARE(tb.toolButtonStyle(), Qt::ToolButtonFollowStyle);
QCOMPARE(spy.count(), 1);
}