Fixed rendering glitch in the "normalize" icon.
svn path=/trunk/kdebase/kwin/; revision=265667
This commit is contained in:
parent
e3fd05e402
commit
9582208fca
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue