┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-06-28 09:49:46 +0200
committerMéven Car <[email protected]>2023-06-28 09:49:46 +0200
commitcd2e64154fd5446a7e19aff4cb147efe2f2ba31e (patch)
tree37f4e2c8644129f809a66fd2f6b2c9b28d52fed8 /src/views
parentdcd5c994bb1d331b94fdea8a5c6cd55a471b34b8 (diff)
parentea56e1f75eae435c18e3934c402c94ae76ec9c11 (diff)
Merge branch 'master' into kf6
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinitemlistview.cpp3
-rw-r--r--src/views/dolphinview.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/views/dolphinitemlistview.cpp b/src/views/dolphinitemlistview.cpp
index a24e31347..9902f651b 100644
--- a/src/views/dolphinitemlistview.cpp
+++ b/src/views/dolphinitemlistview.cpp
@@ -7,6 +7,7 @@
#include "dolphinitemlistview.h"
#include "dolphin_compactmodesettings.h"
+#include "dolphin_contentdisplaysettings.h"
#include "dolphin_detailsmodesettings.h"
#include "dolphin_generalsettings.h"
#include "dolphin_iconsmodesettings.h"
@@ -81,6 +82,8 @@ void DolphinItemListView::readSettings()
CompactModeSettings::self()->load();
DetailsModeSettings::self()->load();
+ ContentDisplaySettings::self()->load();
+
beginTransaction();
setEnabledSelectionToggles(m_selectionTogglesEnabled);
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index 705272308..21ca49c24 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -225,8 +225,6 @@ public:
/** Returns the additional information which should be shown for the items. */
QList<QByteArray> visibleRoles() const;
- void reload();
-
/**
* Refreshes the view to get synchronized with the settings (e.g. icons size,
* font, ...).
@@ -347,6 +345,9 @@ public:
bool eventFilter(QObject *watched, QEvent *event) override;
public Q_SLOTS:
+
+ void reload();
+
/**
* Changes the directory to \a url. If the current directory is equal to
* \a url, nothing will be done (use DolphinView::reload() instead).