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>
This commit is contained in:
Fabian Bumberger 2014-04-02 15:11:10 +02:00 committed by The Qt Project
parent dfb70fbfc4
commit 24656de7e6

View File

@ -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);