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:
parent
dfb70fbfc4
commit
24656de7e6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user