D18104: [kcmkwin/kwindecoration] Rework decorations buttons drag&drop tab

Valerio Pilo <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
vpilo updated this revision to Diff 49597.
vpilo added a comment.


  - Re-add `+1` in addRows(), and fix moving buttons to the rightmost position.
  
  Tested with QAbstractItemModelTester in fatal mode, no more issues found.

REPOSITORY
  R108 KWin

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D18104?vs=49115&id=49597

BRANCH
  arcpatch-D18104

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

AFFECTED FILES
  kcmkwin/kwindecoration/declarative-plugin/buttonsmodel.cpp
  kcmkwin/kwindecoration/declarative-plugin/buttonsmodel.h
  kcmkwin/kwindecoration/kcm.cpp
  kcmkwin/kwindecoration/kcm.ui
  kcmkwin/kwindecoration/qml/ButtonGroup.qml
  kcmkwin/kwindecoration/qml/Buttons.qml
  kcmkwin/kwindecoration/qml/Previews.qml
  kcmkwin/kwindecoration/qml/main.qml

To: vpilo, #vdg, ngraham, #kwin, davidedmundson
Cc: davidedmundson, abetts, ngraham, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.