summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-29 07:49:41 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-03-29 07:49:41 +0200
commit76ff257898ea60c37cb20cff320d7c747c4a8b3c (patch)
tree7419c4fa1ed6d918d3b126f0e211ceadab81e927 /src/mainwindow.cpp
parentDBUS service name (diff)
downloadrekonq-76ff257898ea60c37cb20cff320d7c747c4a8b3c.tar.xz
Search wrap
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ed347bef..c459fc42 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -596,7 +596,7 @@ void MainWindow::slotFindPrevious()
{
if (!currentTab() && m_lastSearch.isEmpty())
return;
- if (!currentTab()->findText(m_lastSearch, QWebPage::FindBackward))
+ if (!currentTab()->findText(m_lastSearch, QWebPage::FindBackward | QWebPage::FindWrapsAroundDocument))
{
slotUpdateStatusbar(QString(m_lastSearch) + i18n(" not found."));
}