mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Remove wrong check in TestGui.
When the window is not wide enough some actions are hidden.
This commit is contained in:
parent
b9a955c048
commit
1fce1ac905
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user