Skip to content

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

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 69a6228b)

Merge request reports