[KPhotoAlbum] icon size of categories with subitems
Jesper K. Pedersen
blackie at blackie.dk
Tue Aug 22 00:47:41 BST 2006
Ahh now I understand, I didn't see it as a patch. Yes you are indeed right.
Thanks.
On Monday 21 August 2006 18:07, Christoph Moseler wrote:
| Hi Jesper,
|
| icons of categories with subitems are displayed with the wrong size,
| aren't they?
|
| QPixmap Browser::ContentFolder::pixmap()
| {
|
| [...]
| if ( category->viewSize() == DB::Category::Small ) {
| if ( DB::ImageDB::instance()->memberMap().isGroup( _category,
| _value ) )
| --- return KGlobal::iconLoader()->loadIcon(
| QString::fromLatin1( "kuser" ), KIcon::Desktop, size );
| +++ return KGlobal::iconLoader()->loadIcon(
| QString::fromLatin1( "kuser" ), KIcon::Desktop, 22 );
| else {
| return category->icon();
| }
| }
|
| [...]
|
| }
|
| Cheers,
| Christoph
|
| _______________________________________________
| KPhotoAlbum mailing list
| KPhotoAlbum at kdab.net
| http://mail.kdab.net/mailman/listinfo/kphotoalbum
--
Having trouble finding a given image in your collection containing
thousands of images?
http://www.kphotoalbum.org might be the answer.
More information about the Kphotoalbum
mailing list