┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-27 06:19:30 +0000
committerPeter Penz <[email protected]>2007-09-27 06:19:30 +0000
commitc1527671313752a14d09aa3745b39962117a751a (patch)
treed5b89b390039067712824335cd270420a96ace26 /src/dolphinview.h
parent341c16eba689331c472455c61f08ff0f0261c49e (diff)
Use case: categorized sorting is enabled, the current view mode is icons-view. When switching to the details-view (which does not support categorized sorting yet), the 'categorized sorting' action should get only disabled to indicate that it is not available, not get unchecked (currently it gets disabled AND unchecked). This patch assures that always the stored categorization state is returned for the menu actions, but internally the categorization is turned off for the proxy model for the details view and column view.
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=717548
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 99a5233e9..be02d776e 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -573,6 +573,7 @@ private:
bool m_active;
bool m_loadingDirectory;
bool m_initializeColumnView;
+ bool m_storedCategorizedSorting;
Mode m_mode;
DolphinMainWindow* m_mainWindow;