┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests/dolphinquerytest.cpp
diff options
context:
space:
mode:
authorSebastian Englbrecht <[email protected]>2026-05-23 13:27:54 +0200
committerSebastian Englbrecht <[email protected]>2026-05-24 17:27:40 +0200
commit1a813b8834f06c4b3a03fb5519cd72c713fd4cf7 (patch)
tree468e49d8eb36eaa76e62fe86fce1ee50a0b33b6c /src/tests/dolphinquerytest.cpp
parent2e665e1b513b3f7c082bedc8faaf47bee8008c73 (diff)
viewproperties: fall back to .directory when xattr space is exhausted
When saving view properties to extended attributes failed with NoSpace, the code cleared the xattr entry and returned without writing anything to disk. The .directory fallback file was never created, silently losing the user's view settings. Fix by copying the current settings into a file-backed KConfig pointing to .directory whenever the xattr write returns NoSpace. The copy uses KConfigGroup::copyTo per group (not KConfig::copyFrom, which replaces the entire entry map) so that unrelated groups already present in .directory — such as a [Desktop Entry] group carrying a custom folder icon — are left untouched by sync().
Diffstat (limited to 'src/tests/dolphinquerytest.cpp')
0 files changed, 0 insertions, 0 deletions