From 9582208fca4f0a00120149025702bd4b6696155e Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Sun, 9 Nov 2003 00:41:10 +0000 Subject: [PATCH] Fixed rendering glitch in the "normalize" icon. svn path=/trunk/kdebase/kwin/; revision=265667 --- clients/b2/b2client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/b2/b2client.cpp b/clients/b2/b2client.cpp index 3a7aae190f..e5b6b00e6c 100644 --- a/clients/b2/b2client.cpp +++ b/clients/b2/b2client.cpp @@ -180,7 +180,8 @@ static void create_pixmaps() QPainter mask(&normalizeMask); 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); for (i = 0; i < 4; i++) pixmap[P_NORMALIZE * 4 + i]->setMask(normalizeMask);