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

Anthony Fieroni <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin,gmane.comp.kde.devel.plasma
Message-ID <[email protected]>
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
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.