]> cloud.milkyroute.net Git - dolphin.git/commit
Viewproperties: prevent loosing view settings
authorMéven Car <meven@kde.org>
Fri, 7 Feb 2025 10:16:05 +0000 (11:16 +0100)
committerMéven Car <meven@kde.org>
Sat, 8 Feb 2025 08:43:09 +0000 (09:43 +0100)
commitc12946ee2ec8dbbb8645ca5763584574458a0a6c
tree60155025c6d2af3456830df4e69714c4b0d8c1c0
parentd828d3a8b443b4c40e31fc72bc8d152e18737e1c
Viewproperties: prevent loosing view settings

When they match the hardcoded internal settings, when they should be
kept as long as they don't match the currently set default
viewproperties.

Is saved in metadata the diff with the hardcoded internal defaults
still. A stable default reference allows to change defaults without
changing existing saved viewproperties.

CCBUG: 495878
src/tests/viewpropertiestest.cpp
src/views/viewproperties.cpp