[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdeui/icons
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2008-11-20 7:13:43
Message-ID: 1227165223.177644.7977.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 886812 by aseigo:
according to the a11y people, double sized pixels have been obsolete since we had \
monochrome icons. moreover, few if any of our apps work properly with double sized \
pixel icons
M +0 -8 kiconloader.cpp
--- trunk/KDE/kdelibs/kdeui/icons/kiconloader.cpp #886811:886812
@@ -129,7 +129,6 @@
struct KIconGroup
{
int size;
- bool dblPixels;
bool alphaBlending;
};
@@ -422,7 +421,6 @@
KConfigGroup cg(config, QLatin1String(groups[i]) + "Icons");
mpGroups[i].size = cg.readEntry("Size", 0);
- mpGroups[i].dblPixels = cg.readEntry("DoublePixels", false);
if (QPixmap::defaultDepth()>8)
mpGroups[i].alphaBlending = cg.readEntry("AlphaBlending", true);
else
@@ -1032,8 +1030,6 @@
if (group >= 0)
{
key.append(d->mpEffect.fingerprint(group, state));
- if (d->mpGroups[group].dblPixels)
- key.append(QLatin1String(":dblsize"));
} else {
key.append(QLatin1String("noeffect"));
}
@@ -1178,10 +1174,6 @@
if ( abs(size-img->width())>iconThreshold )
*img = img->scaled(size, size, Qt::IgnoreAspectRatio, \
Qt::SmoothTransformation); }
- if (group >= 0 && d->mpGroups[group].dblPixels)
- {
- *img = d->mpEffect.doublePixels(*img);
- }
if (group >= 0)
{
*img = d->mpEffect.apply(*img, group, state);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic