From d7cecc41f4b5eb650b0d45ecc68362d058a37b40 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 14 May 2010 02:29:46 +0200 Subject: Implement TZander suggestions on closing the last tab BUG: 230576 --- src/mainview.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainview.cpp') diff --git a/src/mainview.cpp b/src/mainview.cpp index 84b87956..dcdaa626 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -469,6 +469,10 @@ void MainView::closeTab(int index, bool del) if (count() == 1) { WebView *w = currentWebTab()->view(); + + if( currentWebTab()->url().protocol() == QL1S("about") ) + return; + switch (ReKonfig::newTabsBehaviour()) { case 0: // new tab page -- cgit v1.2.1