[Digikam-devel] [Bug 113808] Tags view: can not change the tag icon with the contextual menu "Edit Tag Properties..." after setting a photo as tag thumbnail.

Renchi Raju renchi.raju at kdemail.net
Tue Oct 4 09:07:03 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=113808         
renchi.raju kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From renchi.raju kdemail net  2005-10-04 10:07 -------
SVN commit 467063 by pahlibar:

kde > 3.3.x allows us to lock out the "other" icon select
option. use it. 

Its no longer possible in 0.8.x to set icons through the 
kicondialog. use the assign tag thumbnail or drag-and-drop
a file to assign thumbnail

BUGS: 113808


 M  +15 -0     tagcreatedlg.cpp  


--- trunk/extragear/graphics/digikam/digikam/tagcreatedlg.cpp #467062:467063
 @ -21,6 +21,7  @
 #include <klocale.h>
 #include <kicondialog.h>
 #include <kapplication.h>
+#include <kdeversion.h>
 
 #include <qcombobox.h>
 #include <qlabel.h>
 @ -113,9 +114,16  @
 
 void TagCreateDlg::slotIconChange()
 {
+#if KDE_IS_VERSION(3,3,0)
+    KIconDialog dlg(this);
+    dlg.setup(KIcon::NoGroup, KIcon::Application, false, 20, false,
+              true, true);
+    QString icon = dlg.openDialog();
+#else
     QString icon = KIconDialog::getIcon(KIcon::NoGroup, KIcon::Application, false, 20);
     if (icon.startsWith("/"))
         return;
+#endif
 
     if (icon.isEmpty() || m_icon == icon)
         return;
 @ -221,9 +229,16  @
 
 void TagEditDlg::slotIconChange()
 {
+#if KDE_IS_VERSION(3,3,0)
+    KIconDialog dlg(this);
+    dlg.setup(KIcon::NoGroup, KIcon::Application, false, 20, false,
+              true, true);
+    QString icon = dlg.openDialog();
+#else
     QString icon = KIconDialog::getIcon(KIcon::NoGroup, KIcon::Application, false, 20);
     if (icon.startsWith("/"))
         return;
+#endif
     
     if (icon.isEmpty() || icon == m_icon)
         return;



More information about the Digikam-devel mailing list