summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-04-02 15:11:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-03 11:07:07 +0200
commit24656de7e6647652c3ac4b0aaabdc52b02c67668 (patch)
tree9de37c75cc5f0f73896d085223629dca3f51c537 /tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
parentdfb70fbfc47bf766e13986add490372d45db8050 (diff)
Fix QPushButton autotest
In the sizeHint test the show command was replaced by showNormal. This fixes the test an all platforms where show translates to showFullScreen. Change-Id: I307790a6987c61a57679094b26818383815036a0 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Diffstat (limited to 'tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp')
-rw-r--r--tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp b/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
index 1eccdd768b..1030f0cfbd 100644
--- a/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
+++ b/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
@@ -633,7 +633,7 @@ void tst_QPushButton::sizeHint()
tabWidget->addTab(tab2, "2");
QVBoxLayout *mainLayout = new QVBoxLayout(dialog);
mainLayout->addWidget(tabWidget);
- dialog->show();
+ dialog->showNormal();
tabWidget->setCurrentWidget(tab2);
tabWidget->setCurrentWidget(tab1);
QTest::qWait(100);