summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-13 02:40:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-13 02:40:11 +0100
commitb31d522e9f39e90576a3bc46f912077d5acd1c99 (patch)
treed18c9429bc5e141ad4eaaa844314a7cbe42b2dd2 /src/webpage.cpp
parentFixing about: protocol loading. (diff)
downloadrekonq-b31d522e9f39e90576a3bc46f912077d5acd1c99.tar.xz
This hack seems solve the about: protocol loading problem
also in Qt 4.6. Hope it works really well :)
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 3400564e..56865eb7 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -116,9 +116,8 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
if (request.url().scheme() == QLatin1String("about"))
{
- kDebug() << "loading " << request.url();
Application::instance()->mainWindow()->newTabPage( request.url() );
- return false;
+ return true;
}
m_requestedUrl = request.url();