D25726: [Icon View] Fix titles of previously opened KCMs bleeding into QML KCMs

Filip Fila noreply at phabricator.kde.org
Wed Dec 4 11:04:12 GMT 2019


filipf added a comment.


  So we also fix this by setting:
  
  ` d->moduleView()->setFaceType(KPageView::List);`
  
  But then then a sidebar shows up even if there is only 1 category.
  
  So just need to check for the number of categories and do `List` if > 1, otherwise `Plain`.

REPOSITORY
  R124 System Settings

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

To: filipf, #plasma, davidedmundson
Cc: davidedmundson, 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/20191204/a15f52b7/attachment.html>


More information about the Plasma-devel mailing list