summaryrefslogtreecommitdiff
path: root/src/bookmarks
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-10-10 14:23:35 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2011-10-10 14:24:41 +0200
commit147ab56a35857a2a909882f3c7a6ed6abdf8dfeb (patch)
treeec9d8f521d8694d467aa8d830cead6948cbee217 /src/bookmarks
parenttabsChanged() signal has been removed some time ago.. (diff)
downloadrekonq-147ab56a35857a2a909882f3c7a6ed6abdf8dfeb.tar.xz
Fix the checked state of a toolbar's bookmark folder which is dropped on itself.
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/bookmarkstoolbar.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkstoolbar.cpp b/src/bookmarks/bookmarkstoolbar.cpp
index b19c9c76..bad9b220 100644
--- a/src/bookmarks/bookmarkstoolbar.cpp
+++ b/src/bookmarks/bookmarkstoolbar.cpp
@@ -390,6 +390,12 @@ bool BookmarkToolBar::eventFilter(QObject *watched, QEvent *event)
KBookmark bookmark;
KBookmarkGroup root = rApp->bookmarkProvider()->bookmarkManager()->toolbar();
+ if (m_checkedAction)
+ {
+ m_checkedAction->setCheckable(false);
+ m_checkedAction->setChecked(false);
+ }
+
if (dropEvent->mimeData()->hasFormat("application/rekonq-bookmark"))
{
QByteArray addresses = dropEvent->mimeData()->data("application/rekonq-bookmark");