D24916: KCM style : fix combobox that weren't updated after user made change

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Oct 25 15:09:33 BST 2019


broulik added a comment.


  > AFAICT it won't be pretty though. :-)
  
  I think it's pretty straightforward
  1.) the delegate must not explicitly set a `currentIndex` because Qt does it for us, see D18299 <https://phabricator.kde.org/D18299>
  2.) the wheel handler must be changed to call `decrementCurrentIndex()` and `incrementCurrentIndex()` (hopefully they wrap...) instead of changing the index manually, so it doesn't break the binding.

REPOSITORY
  R119 Plasma Desktop

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

To: crossi, #plasma, ervin, mart, bport
Cc: broulik, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191025/b3be3c2a/attachment.html>


More information about the Plasma-devel mailing list