Commit 8007f156 authored by Allen Winter's avatar Allen Winter
Browse files

searchdialog.cpp - activateWindow on showEvent for ease-of-use

now the focus is always ready to go in the lineedit
and the searching process is smoother.
parent 5170db7a
Pipeline #116158 passed with stage
in 1 minute and 42 seconds
...@@ -96,6 +96,7 @@ SearchDialog::~SearchDialog() ...@@ -96,6 +96,7 @@ SearchDialog::~SearchDialog()
void SearchDialog::showEvent(QShowEvent *event) void SearchDialog::showEvent(QShowEvent *event)
{ {
Q_UNUSED(event) Q_UNUSED(event)
m_ui->searchEdit->setFocus(); m_ui->searchEdit->setFocus();
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment