summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-10 16:14:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-10 16:14:11 +0100
commit8257f3980e77ddf568c4f286de11c5a73bc7c27f (patch)
treed6c45320e1face3c9e75dffca100e29ec68bba42 /src/mainview.cpp
parentChanging homepage.* --> newtabpage.* and fixing API (diff)
downloadrekonq-8257f3980e77ddf568c4f286de11c5a73bc7c27f.tar.xz
switching back from rekonq: protocol to about: one
This is the more logical solution and let rekonq working also with the upcoming Qt4.6. (QWebView::setHtml() trouble) Anyway we have a little regression in the urlbar clean && select
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 4b731fc8..ebcad088 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -484,7 +484,7 @@ void MainView::closeTab(int index)
hasFocus = tab->hasFocus();
//store close tab except homepage
- if (!tab->url().prettyUrl().startsWith( QLatin1String("rekonq:") ) && !tab->url().isEmpty())
+ if (!tab->url().prettyUrl().startsWith( QLatin1String("about:") ) && !tab->url().isEmpty())
{
QString title = tab->title();
QString url = tab->url().prettyUrl();