[effects/slidingpopups] Fix possible segfault
Reviewers: #kwin, mart, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14087
This commit is contained in:
parent
4e1e22c76d
commit
461aace55f
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ void SlidingPopupsEffect::slotPropertyNotify(EffectWindow* w, long a)
|
||||||
|
|
||||||
//do we want an actual slide?
|
//do we want an actual slide?
|
||||||
if (data.length() >= (int)(sizeof(uint32_t) * 5))
|
if (data.length() >= (int)(sizeof(uint32_t) * 5))
|
||||||
animData.slideLength = d[5];
|
animData.slideLength = d[4];
|
||||||
} else {
|
} else {
|
||||||
animData.fadeInDuration = mFadeInTime;
|
animData.fadeInDuration = mFadeInTime;
|
||||||
animData.fadeOutDuration = mFadeOutTime;
|
animData.fadeOutDuration = mFadeOutTime;
|
||||||
|
|
Loading…
Reference in a new issue