DeleteThumbnailCacheOnExit has been promoted to a low-resource-usage mode. Reflect that change in the code.
Details
Details
- Reviewers
ngraham - Group Reviewers
Gwenview - Commits
- R260:b783f06f28ee: Rename DeleteThumbnailCacheOnExit -> LowResourceUsageMode
Diff Detail
Diff Detail
- Repository
- R260 Gwenview
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
By renaming the config name in gwenviewconfig.kcfg, you'll reset existing users' preferences. Whenever you want to rename a key in a config file, you need to ship a kconfig update script to update existing users' config files. Look at the contents of the kconf_update folder in the source tree for an example of an existing one. And here's the documentation: https://techbase.kde.org/Development/Tools/Using_kconf_update
app/advancedconfigpage.ui | ||
---|---|---|
27 | Alternatively you can just not rename this key in the config file and then you won't have to do all that kconf update stuff. |
app/advancedconfigpage.ui | ||
---|---|---|
27 | Ok, but since I've also renamed it in gwenviewconfig.kcfg, wouldn't that loose the connection between that checkBox and the GwenviewConfig::lowResourceUsageMode() property? |
app/advancedconfigpage.ui | ||
---|---|---|
27 | Oh right, never mind |