From 09ba3b9c585ad397c3168d1fb44f7f4dc75f0447 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 5 Mar 2010 00:52:07 +0100 Subject: Fix choice between history & bookmarks in the new tab first page. No more reloading pages on accepting configuration --- src/protocolhandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/protocolhandler.cpp') diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index ffeea562..70d69107 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -124,12 +124,12 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra case 1: // closed tabs _url = KUrl("about:closedTabs"); break; - case 2: // history - _url = KUrl("about:history"); - break; - case 3: // bookmarks + case 2: // bookmarks _url = KUrl("about:bookmarks"); break; + case 3: // history + _url = KUrl("about:history"); + break; default: // unuseful break; } -- cgit v1.2.1