[effects/slidingpopups] Warnings--

Test Plan: Compiles

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D14615
This commit is contained in:
David Edmundson 2018-08-05 11:39:52 +02:00
parent d61f3ec2d5
commit 1df27f8272

View file

@ -345,7 +345,6 @@ void SlidingPopupsEffect::setupAnimData(EffectWindow *w)
}
}
// sanitize
int difference = 0;
switch (mWindowsData[w].from) {
case West:
mWindowsData[w].start = qMax(windowGeo.left() - screenRect.left(), mWindowsData[w].start);