From 83c667187cd4232c412f6390c4ba33a13c328c5a Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Thu, 2 Sep 2010 22:03:47 +0200 Subject: - Follow pano's suggestion : Shift + Enter -> findPrevious() - Don't call findNext() if Ctrl + F is pressed with an existing selection - Correctly update highlights with the timer - A little cleanup --- src/findbar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/findbar.h') diff --git a/src/findbar.h b/src/findbar.h index 6451aac8..9aa5f039 100644 --- a/src/findbar.h +++ b/src/findbar.h @@ -57,9 +57,11 @@ public: void setVisible(bool visible); +protected: + void keyPressEvent(QKeyEvent *event); + signals: void searchString(const QString &); - void visibilityChanged(bool); private: MainWindow *m_mainWindow; -- cgit v1.2.1