Fixed rendering glitch in the "normalize" icon.

svn path=/trunk/kdebase/kwin/; revision=265667
This commit is contained in:
Luciano Montanaro 2003-11-09 00:41:10 +00:00
parent e3fd05e402
commit 9582208fca

View file

@ -180,7 +180,8 @@ static void create_pixmaps()
QPainter mask(&normalizeMask); QPainter mask(&normalizeMask);
QBrush one(Qt::color1); QBrush one(Qt::color1);
mask.fillRect(3, 3, 12, 12, one); mask.fillRect(normalizeMask.width() - 12, normalizeMask.height() - 12,
12, 12, one);
mask.fillRect(0, 0, 10, 10, one); mask.fillRect(0, 0, 10, 10, one);
for (i = 0; i < 4; i++) pixmap[P_NORMALIZE * 4 + i]->setMask(normalizeMask); for (i = 0; i < 4; i++) pixmap[P_NORMALIZE * 4 + i]->setMask(normalizeMask);