From 76ff257898ea60c37cb20cff320d7c747c4a8b3c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 29 Mar 2009 07:49:41 +0200 Subject: Search wrap --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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.")); } -- cgit v1.2.1