diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-14 02:29:46 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-14 02:29:46 +0200 |
commit | d7cecc41f4b5eb650b0d45ecc68362d058a37b40 (patch) | |
tree | d1765bb44557035d004cacf5237235dbf19e8d9e /src/bookmarks/bookmarksmanager.cpp | |
parent | Merge branch 'FixBlocks' (diff) | |
download | rekonq-d7cecc41f4b5eb650b0d45ecc68362d058a37b40.tar.xz |
Implement TZander suggestions on closing the last tab
BUG: 230576
Diffstat (limited to 'src/bookmarks/bookmarksmanager.cpp')
-rw-r--r-- | src/bookmarks/bookmarksmanager.cpp | 6 |
1 files changed, 5 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; } |