summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bookmarks/bookmarksmanager.cpp6
-rw-r--r--src/mainview.cpp4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp
index bfa8d238..9fe3d689 100644
--- a/src/bookmarks/bookmarksmanager.cpp
+++ b/src/bookmarks/bookmarksmanager.cpp
@@ -99,7 +99,11 @@ void BookmarkOwner::openFolderinTabs(const KBookmarkGroup &bookmark)
if (urlList.length() > 8)
{
- if (!(KMessageBox::warningContinueCancel(Application::instance()->mainWindow(), i18n("You are about to open %1 tabs.\nAre you sure ?", QString::number(urlList.length()))) == KMessageBox::Continue))
+ if ( !(KMessageBox::warningContinueCancel( Application::instance()->mainWindow(),
+ i18n("You are about to open %1 tabs.\nAre you sure ?",
+ QString::number( urlList.length() ))
+ ) == KMessageBox::Continue)
+ )
return;
}
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