Home
Phabricator
Search
Log In
Differential
D28152
Diff 78973
kcmkwin/kwinrules/kcmrules.h
Changeset View
I would prefer if this was a proper model (or QStandardItemModel) so we don't end up having the list destroy and recreate its entire state when we change it. This way yo could also move items and it just swaps the delegates without redoing the entire list.
When you signal changes to a QStringList bound to a model the view resets completely.
(Also, by the name of the variable it wasn't clear to me what it actually is about.)