diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-07-25 20:14:12 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-07-25 20:14:12 +0200 |
commit | c8f94cdbcf4eb5dc7b7d6b17551c6211e116ca98 (patch) | |
tree | e90b4855c36bfd67f93f81ee8503e6389c2c0f15 /src/mainwindow.cpp | |
parent | Merge commit 'megabigbug/ContextsMenus' (diff) | |
parent | Fixing codestyle and changing a bit red color (diff) | |
download | rekonq-c8f94cdbcf4eb5dc7b7d6b17551c6211e116ca98.tar.xz |
Merge branch 'findbarNEW'
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)); } |