Remove wrong check in TestGui.

When the window is not wide enough some actions are hidden.
This commit is contained in:
Felix Geyer 2013-12-08 16:11:49 +01:00
parent b9a955c048
commit 1fce1ac905

View File

@ -170,7 +170,6 @@ void TestGui::testSearch()
QVERIFY(searchAction->isEnabled());
QToolBar* toolBar = m_mainWindow->findChild<QToolBar*>("toolBar");
QWidget* searchActionWidget = toolBar->widgetForAction(searchAction);
QVERIFY(searchActionWidget->isVisible());
QVERIFY(searchActionWidget->isEnabled());
QTest::mouseClick(searchActionWidget, Qt::LeftButton);