broulik accepted this revision. broulik added a comment.
Clean up those minor comments and then ship it, thanks! INLINE COMMENTS > kcm.cpp:256 > + } > + return m_behaviorSettingsList[index.row()]; > +} `.value(index.row())` > kcm.cpp:269 > + QString groupName; > + QModelIndex index; > + for (int i = 0; i < m_sourcesModel->rowCount(QModelIndex()); ++i) { Why define outside? > kcm.cpp:270 > + QModelIndex index; > + for (int i = 0; i < m_sourcesModel->rowCount(QModelIndex()); ++i) { > + index = m_sourcesModel->index(i, 0); `QModelIndex()` should be the default argument for `rowCount()` > ApplicationConfiguration.qml:46 > > - function behavior() { > - if (configColumn.desktopEntry) { > - return > kcm.settings.applicationBehavior(configColumn.desktopEntry); > - } else if (configColumn.notifyRcName) { > - return kcm.settings.serviceBehavior(configColumn.notifyRcName); > - } > - return -1; > - } > - > - function setBehavior(flag, enable) { > - var newBehavior = behavior(); > - if (enable) { > - newBehavior |= flag; > - } else { > - newBehavior &= ~flag; > - } > - > - if (configColumn.desktopEntry) { > - return > kcm.settings.setApplicationBehavior(configColumn.desktopEntry, newBehavior); > - } else if (configColumn.notifyRcName) { > - return > kcm.settings.setServiceBehavior(configColumn.notifyRcName, newBehavior); > - } > - } > + readonly property bool notAppOther: configColumn.desktopEntry !== > configColumn.otherAppsId > Can we swap that around to be "isOtherApp" REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D27188 To: crossi, #plasma, ervin, broulik, bport, meven Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart