summaryrefslogtreecommitdiff
path: root/src/webtab/protocolhandler.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-02-17 17:30:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-02-17 17:30:11 +0100
commitb38f87b277617ccfea6e133e0965f2a6a4ad8caf (patch)
tree347fa2ce57fafe2e732e3d8ec37b83474cf4f5b0 /src/webtab/protocolhandler.cpp
parentFix about pages title (diff)
downloadrekonq-b38f87b277617ccfea6e133e0965f2a6a4ad8caf.tar.xz
Closed Tabs page return, first bits
Restore about:closedTabs page and the ability to open back closed tabs. What's missing then? To load back on restart the closed tabs saved...
Diffstat (limited to 'src/webtab/protocolhandler.cpp')
-rw-r--r--src/webtab/protocolhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webtab/protocolhandler.cpp b/src/webtab/protocolhandler.cpp
index 4f2e765e..e9f6a77c 100644
--- a/src/webtab/protocolhandler.cpp
+++ b/src/webtab/protocolhandler.cpp
@@ -158,6 +158,9 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra
case 3: // downloads
_url = KUrl("about:downloads");
break;
+ case 4: // closed tabs
+ _url = KUrl("about:closedTabs");
+ break;
default: // unuseful
kDebug() << "oops... this should NOT happen...";
_url = KUrl("about:favorites");