diff options
| author | Méven Car <[email protected]> | 2023-06-13 09:40:27 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-06-13 09:40:27 +0000 |
| commit | 3338c2834af81e00c3f2b73ad7061fefce89f226 (patch) | |
| tree | 79c6c332584c36391ba3691db41cf90fde91dab7 /src/kitemviews/private | |
| parent | d8bf2f3f19e95b27a81d22d4dc8b9774561cae6b (diff) | |
Settings Add ViewModes > Content display
This does not move the settings location in files though.
baby step for https://invent.kde.org/system/dolphin/-/issues/36
Diffstat (limited to 'src/kitemviews/private')
| -rw-r--r-- | src/kitemviews/private/kdirectorycontentscounter.cpp | 4 | ||||
| -rw-r--r-- | src/kitemviews/private/kdirectorycontentscounter.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kitemviews/private/kdirectorycontentscounter.cpp b/src/kitemviews/private/kdirectorycontentscounter.cpp index e1a47419d..648b20b6f 100644 --- a/src/kitemviews/private/kdirectorycontentscounter.cpp +++ b/src/kitemviews/private/kdirectorycontentscounter.cpp @@ -6,7 +6,7 @@ */ #include "kdirectorycontentscounter.h" -#include "dolphin_detailsmodesettings.h" +#include "dolphin_contentdisplaysettings.h" #include "kitemviews/kfileitemmodel.h" #include <KDirWatch> @@ -224,7 +224,7 @@ void KDirectoryContentsCounter::scheduleNext() } m_workerIsBusy = true; - Q_EMIT requestDirectoryContentsCount(m_currentPath, options, DetailsModeSettings::recursiveDirectorySizeLimit()); + Q_EMIT requestDirectoryContentsCount(m_currentPath, options, ContentDisplaySettings::recursiveDirectorySizeLimit()); } void KDirectoryContentsCounter::enqueuePathScanning(const QString &path, bool alreadyInCache, PathCountPriority priority) diff --git a/src/kitemviews/private/kdirectorycontentscounter.h b/src/kitemviews/private/kdirectorycontentscounter.h index 552b5560e..0da3ccd7d 100644 --- a/src/kitemviews/private/kdirectorycontentscounter.h +++ b/src/kitemviews/private/kdirectorycontentscounter.h @@ -47,7 +47,7 @@ public: Q_SIGNALS: /** * Signals that the directory \a path contains \a count items of size \a - * Size calculation depends on parameter DetailsModeSettings::recursiveDirectorySizeLimit + * Size calculation depends on parameter ContentDisplaySettings::recursiveDirectorySizeLimit */ void result(const QString &path, int count, long long size); |
