Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7fd3672d authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[effects/minimizeanimation] Delete useless comments

Summary:
Comments like "// Call the next effect." are sort of

    // Add 1 to foo.
    foo += 1

they don't give any useful information and it would be better without
them.

Test Plan: Still compiles.

Reviewers: #kwin

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D14728
parent 4576d1bf
......@@ -65,10 +65,7 @@ void MinimizeAnimationEffect::prePaintScreen(ScreenPrePaintData &data, int time)
void MinimizeAnimationEffect::prePaintWindow(EffectWindow *w, WindowPrePaintData &data, int time)
{
// Schedule window for transformation if the animation is still in
// progress
if (m_animations.contains(w)) {
// We'll transform this window
data.setTransformed();
w->enablePainting(EffectWindow::PAINT_DISABLED_BY_MINIMIZE);
}
......@@ -97,7 +94,6 @@ void MinimizeAnimationEffect::paintWindow(EffectWindow *w, int mask, QRegion reg
data.multiplyOpacity(interpolate(1.0, 0.1, progress));
}
// Call the next effect.
effects->paintWindow(w, mask, region, data);
}
......@@ -114,7 +110,6 @@ void MinimizeAnimationEffect::postPaintScreen()
effects->addRepaintFull();
// Call the next effect.
effects->postPaintScreen();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment