summaryrefslogtreecommitdiffstats
path: root/kdesktop/kshadowengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/kshadowengine.cpp')
-rw-r--r--kdesktop/kshadowengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kdesktop/kshadowengine.cpp b/kdesktop/kshadowengine.cpp
index b90bf3b52..9b6529360 100644
--- a/kdesktop/kshadowengine.cpp
+++ b/kdesktop/kshadowengine.cpp
@@ -84,8 +84,9 @@ TQImage KShadowEngine::makeShadow(const TQPixmap& textPixmap, const TQColor &bgC
result.create(w, h, 32);
}
+ result.fill(0); // alpha to zero (Qt3 needs this)
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++)
{