summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtabbar
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-18 09:23:24 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-18 10:41:28 (GMT)
commitcab70bbf1d29a7cdf81d561fdd74e16f7280c689 (patch)
tree3861bdcc150ebf5c7595c6215c98c5fb9492dfab /tests/auto/qtabbar
parentc38ece31d036cf2216392dda9c96736eabcb0f34 (diff)
downloadQt-cab70bbf1d29a7cdf81d561fdd74e16f7280c689.zip
Qt-cab70bbf1d29a7cdf81d561fdd74e16f7280c689.tar.gz
Qt-cab70bbf1d29a7cdf81d561fdd74e16f7280c689.tar.bz2
Autotests: fix compile issue on hpux
Diffstat (limited to 'tests/auto/qtabbar')
-rw-r--r--tests/auto/qtabbar/tst_qtabbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtabbar/tst_qtabbar.cpp b/tests/auto/qtabbar/tst_qtabbar.cpp
index 29f42df..f908d3f 100644
--- a/tests/auto/qtabbar/tst_qtabbar.cpp
+++ b/tests/auto/qtabbar/tst_qtabbar.cpp
@@ -370,7 +370,7 @@ void tst_QTabBar::tabButton()
tabbar.setTabButton(0, position, button);
- QCOMPARE(tabbar.tabButton(0, position), static_cast<const QWidget *>(button));
+ QCOMPARE(tabbar.tabButton(0, position), static_cast<QWidget *>(button));
QTRY_VERIFY(!button->isHidden());
QVERIFY(tabbar.tabButton(0, otherSide) == 0);
QCOMPARE(button->parent(), static_cast<QObject *>(&tabbar));