┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinitemlistview.h
diff options
context:
space:
mode:
authorFelix Ernst <[email protected]>2021-08-07 15:48:02 +0200
committerNate Graham <[email protected]>2021-11-03 16:02:46 +0000
commit81c32c18a5ea52c026ab8566b299601e48efa0b5 (patch)
tree666a5a46e76c5c503e378ae3d4d31232fbac0580 /src/views/dolphinitemlistview.h
parent1118413c6307435c7eb5b639a49580ebb888e612 (diff)
Port ViewModeSettings from macros to std::variant
Macros should be avoided if possible. Instead this commit replaces the usage of macros with an std::variant of the ViewModeSettings. As part of this cleanup, code that belongs to the VideModeSettings class is moved there. Some parameters are also renamed to be more in line with typical naming conventions.
Diffstat (limited to 'src/views/dolphinitemlistview.h')
-rw-r--r--src/views/dolphinitemlistview.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/views/dolphinitemlistview.h b/src/views/dolphinitemlistview.h
index 283b22400..1637752a6 100644
--- a/src/views/dolphinitemlistview.h
+++ b/src/views/dolphinitemlistview.h
@@ -9,7 +9,6 @@
#include "dolphin_export.h"
#include "kitemviews/kfileitemlistview.h"
-#include "settings/viewmodes/viewmodesettings.h"
class KFileItemListView;
@@ -47,8 +46,6 @@ protected:
private:
void updateGridSize();
- ViewModeSettings::ViewMode viewMode() const;
-
private:
int m_zoomLevel;
};