D29791: [kcm/kwinrules] Detect also window complete class

Méven Car noreply at phabricator.kde.org
Thu May 28 07:26:14 BST 2020


meven added inline comments.

INLINE COMMENTS

> rulesmodel.cpp:181
> +{
> +    for (int row = 0; row < m_ruleList.count(); row++) {
> +        if (m_ruleList.at(row)->key() == key) {

Could you `for (const RuleItem *rule : qAsConst(m_ruleList)) {` c++ style

REPOSITORY
  R108 KWin

BRANCH
  wmclasscomplete

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

To: iasensio, ngraham, #kwin, #plasma, meven
Cc: davidedmundson, meven, anthonyfieroni, zzag, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, 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/20200528/381646dc/attachment-0001.htm>


More information about the kwin mailing list