https://bugs.kde.org/show_bug.cgi?id=425047

--- Comment #5 from Nicofo <nic...@tuxfamily.org> ---
Additional info:

I think that the Trash icon's name is:
 - user-trash (empty trash)
 - user-trash-full (full trash)

I searched in the code for "user-trash" -> several matches
I searched in the code for "user-trash-full" -> no match (except in ChangeLog
file)
--> So I guess digikam does not handle different icons for the Trash depending
if it is full or empty.

In the matches for "user-trash", there is albumthumbnailloader.cpp:
QPixmap AlbumThumbnailLoader::getStandardAlbumTrashIcon(RelativeSize
relativeSize)
{
    return loadIcon(QLatin1String("user-trash"),
computeIconSize(relativeSize));
}

Maybe should be changed there ?
QPixmap AlbumThumbnailLoader::getStandardAlbumTrashIcon(RelativeSize
relativeSize)
{
    if .... //trash is empty
        return loadIcon(QLatin1String("user-trash"),
computeIconSize(relativeSize));
    else
        return loadIcon(QLatin1String("user-trash-full"),
computeIconSize(relativeSize));
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to