diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-19 10:55:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-19 10:55:30 +0000 |
commit | dd6a247c624b508b862fbb05ecb96e8cb62c1023 (patch) | |
tree | 98a579c74728e60cbc9a1acc3959a0e3baca7485 /kdesktop | |
parent | 8937c60b6a65ba270439fee89d8fcc02877bcb30 (diff) | |
download | tdebase-dd6a247c624b508b862fbb05ecb96e8cb62c1023.tar.gz tdebase-dd6a247c624b508b862fbb05ecb96e8cb62c1023.zip |
Fix ugly kdesktop shadow pixmap edges
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1221588 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop')
-rw-r--r-- | kdesktop/kshadowengine.cpp | 3 |
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++) { |