D25867: [platforms/drm] Do plane and object chore

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Dec 11 17:26:40 GMT 2019


zzag added inline comments.

INLINE COMMENTS

> drm_object.cpp:157
>              if (j == nameCount) {
> +                qCWarning(KWIN_DRM).nospace() << m_propName << " has unrecognized enum '"
> +                                              << en->name << "'";

Simpler way

  qCWarning(KWIN_DRM, "%1 has unrecogrnized enum '%2'", m_propName, en->name);

I didn't test whether my code compiles though...

REPOSITORY
  R108 KWin

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

To: romangg, #kwin
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, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191211/05ca454b/attachment-0001.html>


More information about the kwin mailing list