summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-06 03:09:23 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-06 03:09:23 +0200
commit06b2dc0ce6ec6dd4cb090c22e2f9f8521138146b (patch)
treebdbc792266fea13099eecebe4c032f97a2eb2fea /src/mainwindow.cpp
parentupdating authors.. (diff)
downloadrekonq-06b2dc0ce6ec6dd4cb090c22e2f9f8521138146b.tar.xz
EBN Krazy fixes. 1st round..
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 63de9853..7af04da0 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -572,7 +572,7 @@ void MainWindow::slotPrivateBrowsing(bool enable)
" webpages are not added to the history,"
" new cookies are not stored, current cookies cannot be accessed," \
" site icons will not be stored, session will not be saved, " \
- " and searches are not addded to the pop-up menu in the Google search box." \
+ " and searches are not added to the pop-up menu in the Google search box." \
" Until you close the window, you can still click the Back and Forward buttons" \
" to return to the webpages you have opened.");
@@ -591,7 +591,7 @@ void MainWindow::slotPrivateBrowsing(bool enable)
settings->setAttribute(QWebSettings::PrivateBrowsingEnabled, false);
MainWindow* win = Application::instance()->mainWindow();
- win->m_lastSearch = QString::null;
+ win->m_lastSearch.clear();
win->mainView()->clear();
}
}