From a237e085fc976147858161e6c25b33a825f73eeb Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 8 Dec 2011 23:08:01 +0100 Subject: Fix font settings issue The font settings have been ignored currently because of the transition to the new view-engine. The patch is based on the work of Janardhan Reddy and has been extended by the helper class ViewModeSettings. BUG: 288395 FIXED-IN: 4.8.0 --- src/views/dolphinitemlistcontainer.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/views/dolphinitemlistcontainer.h') diff --git a/src/views/dolphinitemlistcontainer.h b/src/views/dolphinitemlistcontainer.h index 9cf4bff3f..d91b96a34 100644 --- a/src/views/dolphinitemlistcontainer.h +++ b/src/views/dolphinitemlistcontainer.h @@ -22,6 +22,7 @@ #include #include +#include #include @@ -63,8 +64,16 @@ public: void beginTransaction(); void endTransaction(); + /** + * Refreshs the view by reapplying the (changed) viewmode settings. + */ + void refresh(); + private: void updateGridSize(); + void updateFont(); + + ViewModeSettings::ViewMode viewMode() const; private: int m_zoomLevel; -- cgit v1.3.1