[KPhotoAlbum] icon size of categories with subitems
Christoph Moseler
forums at moseler.net
Mon Aug 21 23:07:06 BST 2006
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
More information about the Kphotoalbum
mailing list