From 218b5df8db37ea45e0f145a3400589a725a15658 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 4 Jan 2012 18:47:37 +0100 Subject: Manage rekonq pages in "current" NOT "main" frame Also double check for strange about urls BUG: 290411 --- src/protocolhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocolhandler.cpp') diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index ebb12e8f..9489f025 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2010-2011 by Andrea Diamantini +* Copyright (C) 2010-2012 by Andrea Diamantini * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -136,7 +136,7 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra { QByteArray encodedUrl = _url.toEncoded(); // let webkit manage the about:blank url... - if (encodedUrl == QByteArray("about:blank")) + if (encodedUrl.startsWith(QByteArray("about:blank"))) { return false; } -- cgit v1.2.1