mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 08:19:50 -05:00
Fix typo.
This commit is contained in:
parent
204822b66f
commit
dad4376030
@ -159,13 +159,13 @@ void TestGui::testSearch()
|
|||||||
DatabaseTabWidget* tabWidget = m_mainWindow->findChild<DatabaseTabWidget*>("tabWidget");
|
DatabaseTabWidget* tabWidget = m_mainWindow->findChild<DatabaseTabWidget*>("tabWidget");
|
||||||
DatabaseWidget* dbWidget = tabWidget->currentDatabaseWidget();
|
DatabaseWidget* dbWidget = tabWidget->currentDatabaseWidget();
|
||||||
|
|
||||||
QAction* serachAction = m_mainWindow->findChild<QAction*>("actionSearch");
|
QAction* searchAction = m_mainWindow->findChild<QAction*>("actionSearch");
|
||||||
QVERIFY(serachAction->isEnabled());
|
QVERIFY(searchAction->isEnabled());
|
||||||
QToolBar* toolBar = m_mainWindow->findChild<QToolBar*>("toolBar");
|
QToolBar* toolBar = m_mainWindow->findChild<QToolBar*>("toolBar");
|
||||||
QWidget* serachActionWidget = toolBar->widgetForAction(serachAction);
|
QWidget* searchActionWidget = toolBar->widgetForAction(searchAction);
|
||||||
QVERIFY(serachActionWidget->isVisible());
|
QVERIFY(searchActionWidget->isVisible());
|
||||||
QVERIFY(serachActionWidget->isEnabled());
|
QVERIFY(searchActionWidget->isEnabled());
|
||||||
QTest::mouseClick(serachActionWidget, Qt::LeftButton);
|
QTest::mouseClick(searchActionWidget, Qt::LeftButton);
|
||||||
QTest::qWait(20);
|
QTest::qWait(20);
|
||||||
|
|
||||||
EntryView* entryView = dbWidget->findChild<EntryView*>("entryView");
|
EntryView* entryView = dbWidget->findChild<EntryView*>("entryView");
|
||||||
|
Loading…
Reference in New Issue
Block a user