┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Ottens <[email protected]>2006-11-22 12:22:41 +0000
committerKevin Ottens <[email protected]>2006-11-22 12:22:41 +0000
commita08b5f835732304c7be7ebdd1627f41b16a46f3a (patch)
treec495134c75a8c2d0aa52bfeacdb065d7286c50ca /src
parent63f6ef7656f6ec9c4a2f5f5c92dcd08878638cbf (diff)
Avoid triggering the bookmark action when it's not appropriate.
svn path=/trunk/playground/utils/dolphin/; revision=606934
Diffstat (limited to 'src')
-rw-r--r--src/dolphincontextmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 1f57ef4fe..962e6b442 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -230,7 +230,7 @@ void DolphinContextMenu::openItemContextMenu()
QAction *activatedAction = popup->exec(m_pos);
- if (activatedAction == bookmarkAction) {
+ if (bookmarkAction!=0 && activatedAction == bookmarkAction) {
const KUrl selectedURL(m_fileInfo->url());
KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add folder as bookmark"),
selectedURL.fileName(),