diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-07-25 19:01:56 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-07-25 19:01:56 +0200 |
commit | 139c3bca0373aa89384059070812a85821ea1a19 (patch) | |
tree | 56de2e9f5775e3547c5f6336b1f699f8cf11c7b3 /src/mainwindow.cpp | |
parent | Rekonq tools menu (diff) | |
download | rekonq-139c3bca0373aa89384059070812a85821ea1a19.tar.xz |
Remove notification for search text
Notify matching by changing the background color of the text field
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b2e5106c..27b9a65b 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -614,10 +614,7 @@ void MainWindow::slotFindNext() if (m_findBar->matchCase()) options |= QWebPage::FindCaseSensitively; - if (!currentTab()->findText(m_lastSearch, options)) - { - notifyMessage(QString(m_lastSearch) + i18n(" not found.")); - } + m_findBar->notifyMatch(currentTab()->findText(m_lastSearch, options)); } @@ -630,10 +627,7 @@ void MainWindow::slotFindPrevious() if (m_findBar->matchCase()) options |= QWebPage::FindCaseSensitively; - if (!currentTab()->findText(m_lastSearch, options)) - { - notifyMessage(QString(m_lastSearch) + i18n(" not found.")); - } + m_findBar->notifyMatch(currentTab()->findText(m_lastSearch, options)); } |