KFadeWidgetEffect bugfix

Rafael Fernández López ereslibre at kde.org
Thu Feb 21 18:11:27 GMT 2008


Hi,

After testing it, it didn't work. Just a small "bug" on the code:

In

+    if 
(!destWidget || !destWidget->parentWidget() || !destWidget->isVisible() ||
+            (KGlobalSettings::graphicEffectsLevel() & 
KGlobalSettings::SimpleAnimationEffects)) {

you, really wanted to say:

+    if 
(!destWidget || !destWidget->parentWidget() || !destWidget->isVisible() ||
+            !(KGlobalSettings::graphicEffectsLevel() & 
KGlobalSettings::SimpleAnimationEffects)) {

(note the "!").

Yup, I agree with this patch. I will commit the whole stuff with the 
animations thing.


Bye, 
Rafael Fernández López

GPG Fingerprint: B9F4 4730 43F8 FFDD CC5E BA8E 724E 406E 3F01 D070
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080221/2121503c/attachment.sig>


More information about the kde-core-devel mailing list