D22418: WIP [wayland] make automatic backend selection truly automatic

Anthony Fieroni noreply at phabricator.kde.org
Sat Nov 16 13:35:43 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191116/48e0ed8d/attachment.html>


More information about the Plasma-devel mailing list