From 06b2dc0ce6ec6dd4cb090c22e2f9f8521138146b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 6 May 2009 03:09:23 +0200 Subject: EBN Krazy fixes. 1st round.. --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainwindow.cpp') 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(); } } -- cgit v1.2.1