[Digikam-devel] [Bug 110115] Tagging with RMB incomplete
Joern Ahrens
joern.ahrens at kdemail.net
Wed Aug 3 22:11:35 BST 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=110115
------- Additional Comments From joern.ahrens kdemail net 2005-08-03 23:11 -------
SVN commit 442775 by jahrens:
CCBUG: 110115
M +13 -1 tagspopupmenu.cpp
--- trunk/extragear/graphics/digikam/digikam/tagspopupmenu.cpp #442774:442775
@ -141,6 +141,19 @
{
popup->insertItem(m_addTagPix, i18n("Add new Tag..."),
ADDTAGID + album->id());
+ popup->insertSeparator();
+
+ QPixmap pix = SyncJob::getTagThumbnail(album->icon(), KIcon::SizeSmall);
+ if ((m_mode == ASSIGN) && (m_assignedTags.contains(album->id())))
+ {
+ popup->insertItem(new TagsPopupCheckedMenuItem(popup, album->title(), pix),
+ m_addToID + album->id());
+ }
+ else
+ {
+ popup->insertItem(pix, album->title(), m_addToID + album->id());
+ }
+
if (album->firstChild())
{
popup->insertSeparator();
@ -182,7 +195,6 @
}
else
{
-
popup->insertItem(pix, a->title(), m_addToID + a->id());
}
}
More information about the Digikam-devel
mailing list