D23493: [server] Cache current mode

David Edmundson noreply at phabricator.kde.org
Wed Aug 28 12:07:20 BST 2019


davidedmundson accepted this revision.
davidedmundson added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> outputdevice_interface.cpp:143
>              for (auto it = d->resources.constBegin(); it != d->resources.constEnd(); ++it) {
>                  d->sendMode((*it).resource, *currentModeIt);
>                  d->sendDone(*it);

we can also just use currentMode directly here and remove the loop above

REPOSITORY
  R127 KWayland

BRANCH
  cacheMode

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

To: romangg, #kwin, davidedmundson
Cc: davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190828/f9b6d50d/attachment.html>


More information about the Kde-frameworks-devel mailing list