Fix ugly kdesktop shadow pixmap edges

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1221588 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 8937c60b6a
commit dd6a247c62

@ -84,8 +84,9 @@ TQImage KShadowEngine::makeShadow(const TQPixmap& textPixmap, const TQColor &bgC
result.create(w, h, 32); result.create(w, h, 32);
} }
result.fill(0); // alpha to zero (Qt3 needs this)
result.setAlphaBuffer(true); result.setAlphaBuffer(true);
result.fill(0); // all black result.fill(0); // rest to all black (Qt4 needs this)
for (int i = thick; i < w - thick; i++) for (int i = thick; i < w - thick; i++)
{ {

Loading…
Cancel
Save