apol added inline comments. INLINE COMMENTS
> keyboard_shortcuts_inhibit_interface.cpp:144 > + QPair<SurfaceInterface *, SeatInterface *> key(surface, seat); > + if (m_inhibitors.contains(key)) { > + return m_inhibitors[key]; Just `return m_inhibitors.value({ surface, seat })` to save a look-up and a few lines of code. REPOSITORY R127 KWayland REVISION DETAIL https://phabricator.kde.org/D29231 To: bport, zzag, davidedmundson, apol Cc: romangg, crossi, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns