D24075: [kcmkwin/compositing] Hide animation speed slider on Plasma

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> compositing.cpp:378
>  
> +bool Compositing::isRunningPlasma() {
> +    return qgetenv("XDG_CURRENT_DESKTOP") == "KDE";

Style: `{` goes on the next line.

> main.cpp:33
>  
> +#include <math.h>
> +#include <functional>

Where is it used?

> main.cpp:34-35
> +#include <math.h>
> +#include <functional>
> +#include <algorithm>
> +

Keep them sorted alphabetically please.

> main.cpp:90
> +    m_form.animationSpeed->setMaximum(s_animationMultipliers.size() - 1);
> +    qDebug() << m_form.animationSpeed->minimum() << m_form.animationSpeed->maximum();
> +    auto setSpeed = [this](const qreal multiplier) {

Delete qDebug.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D24075

To: davidedmundson
Cc: zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.