summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkspanel.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-08-04 14:27:07 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-08-04 14:27:07 +0200
commit47344f0680af144ae2555c8dda39c6e050d34b40 (patch)
tree2b37c6165e05faf6fec6ae7b4b63cc09302edef3 /src/bookmarks/bookmarkspanel.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-47344f0680af144ae2555c8dda39c6e050d34b40.tar.xz
- Add a 'Don't ask again' option to some message dialog
- Prevent a crash if the previous option is enabled because KMenu blocks all GUI events ... BUG: 246565
Diffstat (limited to 'src/bookmarks/bookmarkspanel.cpp')
-rw-r--r--src/bookmarks/bookmarkspanel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkspanel.cpp b/src/bookmarks/bookmarkspanel.cpp
index 19db148b..5e11601a 100644
--- a/src/bookmarks/bookmarkspanel.cpp
+++ b/src/bookmarks/bookmarkspanel.cpp
@@ -227,7 +227,9 @@ void BookmarksPanel::deleteBookmark()
: i18n("Are you sure you wish to remove the bookmark\n\"%1\"?", bm.text()),
folder ? i18n("Bookmark Folder Deletion")
: i18n("Bookmark Deletion"),
- KStandardGuiItem::del())
+ KStandardGuiItem::del(),
+ KStandardGuiItem::cancel(),
+ "bookmarkDeletition_askAgain")
!= KMessageBox::Continue
)
return;