From d6f393ff038e7c51d4a8a213ced4f312de7ab8bc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 9 Sep 2007 10:32:49 +0000 Subject: [PATCH] minor coding style fix svn path=/trunk/KDE/kdebase/apps/; revision=710222 --- src/dolphinitemcategorizer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dolphinitemcategorizer.cpp b/src/dolphinitemcategorizer.cpp index 0701678b9d..f338ac47de 100644 --- a/src/dolphinitemcategorizer.cpp +++ b/src/dolphinitemcategorizer.cpp @@ -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();