anthonyfieroni added inline comments.

INLINE COMMENTS

> main_wayland.cpp:398-400
> +                if ((*it).isDouble()) {
> +                    prio1 = static_cast<int>((*it).toDouble());
> +                }

Just use `toInt`

> main_wayland.cpp:405-407
> +                if ((*it).isDouble()) {
> +                    prio2 = static_cast<int>((*it).toDouble());
> +                }

ditto

REPOSITORY
  R108 KWin

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

To: alexeymin, romangg, #kwin
Cc: anthonyfieroni, PureTryOut, graesslin, kwin, plasma-devel, 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, ahiemstra, mart

Reply via email to