Skip to content

qtquickengine: Do not emit entriesChanged signal when we clear an empty list

Alexander Lohnau requested to merge work/fix_scrooling_issues_in_kcms into master

This is called whenever we open the dialog, but we do not want to emit the signal unless we actually clear this list. Otherwise the KCMs would reload their data and scroll back to the top.

BUG: 431568
FIXED-IN: 5.80

You can try this out with the icons KCM: kcmshell5 kcm_colors

This still means that if we actually install/uninstall en entry the view will scroll up, but that is an implementation detail in the KCMs.

@ngraham

Merge request reports