diff options
| author | Peter Penz <[email protected]> | 2007-09-26 11:46:49 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-09-26 11:46:49 +0000 |
| commit | 8df41dd0061fb92882aefe532bd762341df64072 (patch) | |
| tree | f7efab1d01df2fad6ea7236daa1950d3f8d8ad8e /src/dolphiniconsview.h | |
| parent | 1c819fb0ed6871bb716ae8224270eb333a9a4cf5 (diff) | |
* Fix memory leak (DolphinCategoryDrawer is leaking...)
* There is no need to explicitly turning on the category, as this is done automatically when reading out the view properties. @Rafael: I tested your error description and could not reproduce the problem anymore. If I miss something, please let me know, so that we can work together to fix this :-)
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=717245
Diffstat (limited to 'src/dolphiniconsview.h')
| -rw-r--r-- | src/dolphiniconsview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h index 592137e54..69481eb7f 100644 --- a/src/dolphiniconsview.h +++ b/src/dolphiniconsview.h @@ -28,6 +28,7 @@ #include <libdolphin_export.h> class DolphinController; +class DolphinCategoryDrawer; /** * @brief Represents the view, where each item is shown as an icon. @@ -81,6 +82,7 @@ private: private: DolphinController* m_controller; + DolphinCategoryDrawer* m_categoryDrawer; QStyleOptionViewItem m_viewOptions; QSize m_itemSize; |
