mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 14:32:39 -04:00
Use line edit widget for search edit.
This commit is contained in:
parent
e5e7e5e406
commit
9faf550fa1
4 changed files with 10 additions and 17 deletions
|
@ -24,6 +24,7 @@
|
|||
#include <QtGui/QLineEdit>
|
||||
#include <QtGui/QPushButton>
|
||||
#include <QtGui/QToolBar>
|
||||
#include <QtGui/QToolButton>
|
||||
|
||||
#include "config-keepassx-tests.h"
|
||||
#include "tests.h"
|
||||
|
@ -166,7 +167,7 @@ void TestGui::testSearch()
|
|||
|
||||
EntryView* entryView = dbWidget->findChild<EntryView*>("entryView");
|
||||
QLineEdit* searchEdit = dbWidget->findChild<QLineEdit*>("searchEdit");
|
||||
QPushButton* clearSearch = dbWidget->findChild<QPushButton*>("clearSearchButton");
|
||||
QToolButton* clearSearch = dbWidget->findChild<QToolButton*>("clearButton");
|
||||
|
||||
QTest::keyClicks(searchEdit, "ZZZ");
|
||||
QTest::qWait(120);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue