mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-26 20:06:41 -08:00
replaced hard function call with signal connection
Signed-off-by: Ettore Dreucci <[email protected]>
This commit is contained in:
3 files changed
+3
-6
No files matched your search
@@ -119,7 +119,8 @@ void SearchWidget::databaseChanged(DatabaseWidget* dbWidget)
|
||||
if (dbWidget != nullptr) {
|
||||
// Set current search text from this database
|
||||
m_ui->searchEdit->setText(dbWidget->getCurrentSearch());
|
||||
|
||||
// Keyboard focus on search widget at database unlocking
|
||||
connect(dbWidget, SIGNAL(unlockedDatabase()), this, SLOT(searchFocus()));
|
||||
// Enforce search policy
|
||||
emit caseSensitiveChanged(m_actionCaseSensitive->isChecked());
|
||||
emit limitGroupChanged(m_actionLimitGroup->isChecked());
|
||||
|
||||
Reference in new issue
Block a user