Commit 07ca88d6 authored by Frédéric Brière's avatar Frédéric Brière Committed by Albert Astals Cid
Browse files

Set initial focus on the search bar on startup

BUG: 427077
parent fff03c80
...@@ -299,7 +299,7 @@ void Kiten::finishInit() ...@@ -299,7 +299,7 @@ void Kiten::finishInit()
} }
} }
// Edit->Completion()->clear(); // make sure the edit is focused initially _inputManager->focusInput();
_statusBar->showMessage( i18n( "Welcome to Kiten" ) ); _statusBar->showMessage( i18n( "Welcome to Kiten" ) );
setCaption( QString() ); setCaption( QString() );
} }
......
...@@ -46,13 +46,11 @@ class SearchStringInput : public QObject ...@@ -46,13 +46,11 @@ class SearchStringInput : public QObject
public slots: public slots:
void test(); void test();
void focusInput();
signals: signals:
void search(); void search();
private slots:
void focusInput();
private: private:
KSelectAction *_actionFilterRare = nullptr; KSelectAction *_actionFilterRare = nullptr;
// Search exact/anywhere/beginning // Search exact/anywhere/beginning
......
Markdown is supported
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