summaryrefslogtreecommitdiff
path: root/src/tabwindow
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-10-14 21:52:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:05 +0100
commit35cdc4f30f167037ef25f8f0a2d134cff74a599a (patch)
tree7a086a30651ad84d3bcfcb7a0710ef6f2f35de54 /src/tabwindow
parentFix opening when there are no pinned tabs (diff)
downloadrekonq-35cdc4f30f167037ef25f8f0a2d134cff74a599a.tar.xz
clean up urlbar url loading. We really are lighter now :)
Diffstat (limited to 'src/tabwindow')
-rw-r--r--src/tabwindow/tabwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index bc43085d..bfdc9bcd 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -381,8 +381,7 @@ void TabWindow::closeTab(int index, bool del)
if (count() == 1)
{
kDebug() << "CANNOT CLOSE WINDOW FROM HERE...";
- QUrl u = QUrl::fromUserInput("/DATI/WEBPAGES/HomePage/index.htm");
- currentWebWindow()->load(u);
+ currentWebWindow()->load(KUrl("about:home"));
return;
}