From fdf854bd81d9e42df2d8672d49a0b7fcdb7443a5 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Sun, 27 Oct 2024 17:20:40 +0000 Subject: 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 --- src/views/dolphinview.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/views/dolphinview.cpp') 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); } -- cgit v1.3