summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-25 20:14:12 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-25 20:14:12 +0200
commitc8f94cdbcf4eb5dc7b7d6b17551c6211e116ca98 (patch)
treee90b4855c36bfd67f93f81ee8503e6389c2c0f15 /src/mainwindow.cpp
parentMerge commit 'megabigbug/ContextsMenus' (diff)
parentFixing codestyle and changing a bit red color (diff)
downloadrekonq-c8f94cdbcf4eb5dc7b7d6b17551c6211e116ca98.tar.xz
Merge branch 'findbarNEW'
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp10
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));
}