diff options
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 942f20e3..49896892 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -107,6 +107,12 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r return false; } + if (request.url().scheme() == QLatin1String("about")) + { + Application::instance()->loadUrl( request.url() ); + return false; + } + m_requestedUrl = request.url(); return QWebPage::acceptNavigationRequest(frame, request, type); |