Skip to content

馃崚 RecentFiles kcm: whattoremember: Make the value visible in the UI match the value saved

M茅ven Car requested to merge work/meven/cherry-pick-397487 into Plasma/5.27

In this commit:

  1. Setting the property kcfg_property=kcfg_value on the QGroupBox. This should force the KConfigDialogManager to use that to retrieve that value that needs to be stored.
  2. Introducing RecentFilesKcm::whatToRememberWidgetChanged which figures out the correct value of "what-to-remember" and sets it under the property kcfg_value and triggers the Save/Reset buttons.
  3. Linking the above slot to the QAbstractButton::clicked signals of the radio buttons

BUG: 397487 (cherry picked from commit 5f1b83a6)

cc !1677 (merged)

Merge request reports