┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2024-10-27 17:20:40 +0000
committerMéven Car <[email protected]>2024-10-27 17:20:40 +0000
commitfdf854bd81d9e42df2d8672d49a0b7fcdb7443a5 (patch)
tree63e52b962b465d1af5ff46fe2935125827ab2e0c /src/views/dolphinview.cpp
parentad8a75cd9f5fa26710e3334a1aae34a88b0333c0 (diff)
ViewProperties: Store view properties in extended file attributes
Existing settings are converted. Works on most FS except FAT/exFAT which fallback to .directory files. If the extended file attributes (in ADS in Windows) can't be saved, they are saved to file as before. BUG: 322922 You can see file xattr using for instance for Unix filesystems: getfattr -d /home/meven
Diffstat (limited to 'src/views/dolphinview.cpp')
-rw-r--r--src/views/dolphinview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index f9f32d35c..0c5ebb1df 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -375,9 +375,8 @@ void DolphinView::setGroupedSorting(bool grouped)
ViewProperties props(viewPropertiesUrl());
props.setGroupedSorting(grouped);
- props.save();
- m_container->controller()->model()->setGroupedSorting(grouped);
+ m_model->setGroupedSorting(grouped);
Q_EMIT groupedSortingChanged(grouped);
}