[Digikam-devel] [Bug 120056] digikam: allow to assign via drag and drop tag thumbnails in 'Tags Filter'
Gilles Caulier
caulier.gilles at free.fr
Mon Sep 4 12:33:50 BST 2006
------- 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=120056
caulier.gilles free fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From caulier.gilles free fr 2006-09-04 13:33 -------
SVN commit 580735 by cgilles:
digikam from trunk: Tag Filters View: new option in popup menu to assign an image as tags thumbnail using drag & drop like with Tags View.
BUG: 120056
M +7 -0 tagfilterview.cpp
--- trunk/extragear/graphics/digikam/digikam/tagfilterview.cpp #580734:580735
@ -317,6 +317,7 @
QPopupMenu popMenu(this);
popMenu.insertItem(SmallIcon("tag"), i18n("Assign Tag '%1' to Dropped Items")
.arg(destAlbum->prettyURL()), 10) ;
+ popMenu.insertItem(i18n("Set as Tag Thumbnail"), 11);
popMenu.insertSeparator(-1);
popMenu.insertItem(SmallIcon("cancel"), i18n("C&ancel"));
@ -338,6 +339,12 @
ImageAttributesWatch::instance()->imagesChanged(destAlbum->id());
}
+ else if(id == 11)
+ {
+ QString errMsg;
+ AlbumManager::instance()->updateTAlbumIcon(destAlbum, QString(),
+ imageIDs.first(), errMsg);
+ }
}
}
More information about the Digikam-devel
mailing list