mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
minor coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=710222
This commit is contained in:
parent
7f72b375db
commit
d6f393ff03
1 changed files with 3 additions and 3 deletions
|
@ -311,11 +311,11 @@ void DolphinItemCategorizer::drawCategory(const QModelIndex &index,
|
|||
|
||||
QPixmap pixmap = KIconLoader::global()->loadIcon("rating", K3Icon::Small);
|
||||
QPixmap smallPixmap = KIconLoader::global()->loadIcon("rating", K3Icon::NoGroup, iconSize / 2);
|
||||
QPixmap icon_disabledPixmap = KIconLoader::global()->loadIcon("rating", K3Icon::Small);
|
||||
QPixmap disabledIcon = KIconLoader::global()->loadIcon("rating", K3Icon::Small);
|
||||
|
||||
QImage disabledImage = icon_disabledPixmap.toImage();
|
||||
QImage disabledImage = disabledIcon.toImage();
|
||||
KIconEffect::toGray(disabledImage, 1.0);
|
||||
QPixmap disabledPixmap = QPixmap::fromImage(disabledImage);
|
||||
QPixmap disabledPixmap = QPixmap::fromImage(disabledImage);
|
||||
|
||||
int rating = category.toInt();
|
||||
|
||||
|
|
Loading…
Reference in a new issue