summaryrefslogtreecommitdiff
path: root/src/plugins/bookmarks/bookmarkmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/bookmarks/bookmarkmanager.cpp')
-rw-r--r--src/plugins/bookmarks/bookmarkmanager.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp
index 4e98648147..77bb0f4151 100644
--- a/src/plugins/bookmarks/bookmarkmanager.cpp
+++ b/src/plugins/bookmarks/bookmarkmanager.cpp
@@ -257,11 +257,13 @@ void BookmarkView::keyPressEvent(QKeyEvent *event)
void BookmarkView::removeAll()
{
- if (CheckableMessageBox::doNotAskAgainQuestion(this,
- Tr::tr("Remove All Bookmarks"),
- Tr::tr("Are you sure you want to remove all bookmarks from all files in the current session?"),
- ICore::settings(),
- QLatin1String("RemoveAllBookmarks")) != QDialogButtonBox::Yes)
+ if (CheckableMessageBox::question(this,
+ Tr::tr("Remove All Bookmarks"),
+ Tr::tr("Are you sure you want to remove all bookmarks from "
+ "all files in the current session?"),
+ ICore::settings(),
+ QLatin1String("RemoveAllBookmarks"))
+ != QMessageBox::Yes)
return;
// The performance of this function could be greatly improved.