[Digikam-devel] [Bug 102029] wish: no/small icons in album tree

Jens B.Benecke jens-bugs.kde.org at spamfreemail.de
Mon Jun 5 12:52:42 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=102029         




------- Additional Comments From jens-bugs.kde.org spamfreemail de  2006-06-05 13:52 -------
Hello,

it seems I forgot to patch the camera download album selection dialog:

Index: utilities/cameragui/albumselectdialog.cpp
===================================================================
--- utilities/cameragui/albumselectdialog.cpp   (Revision 546727)
+++ utilities/cameragui/albumselectdialog.cpp   (Arbeitskopie)
 @ -47,6 +47,7  @
 #include "album.h"
 #include "albummanager.h"
 #include "albumselectdialog.h"
+#include "albumsettings.h"

 namespace Digikam
 {
 @ -107,7 +108,7  @

     KIconLoader *iconLoader = KApplication::kApplication()->iconLoader();
     QPixmap icon = iconLoader->loadIcon("folder", KIcon::NoGroup,
-                                        32, KIcon::DefaultState, 0, true);
+                                        AlbumSettings::instance()->getDefaultTreeIconSize(), KIcon::DefaultState, 0, true);

     AlbumList aList = AlbumManager::instance()->allPAlbums();



PS: Do you want album thumbnails there too? I could give it a try.

-- 
Jens



More information about the Digikam-devel mailing list