┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-12-06 21:06:45 +0000
committerPeter Penz <[email protected]>2007-12-06 21:06:45 +0000
commite65154552769e648bcbe14429123ff9fcd48bd29 (patch)
tree83d9a825642bf72dc4e2bc2b13a94c6331a19ec3 /src/dolphindetailsview.h
parent4939ae662fad860d8355a799f2d7121fe538ee92 (diff)
Fixed wrong usage of QStyleOptionViewItem: caching of the file item in the constructor is too early (thanks to Fredrik for the hint!). This fixes 2 issues:
* the selection color of the details view now uses the correct selection color * changing the colors of KDE results in updating the colors of all Dolphin views CCMAIL: [email protected] CCMAIL: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=745700
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h
index 1b21690c0..cfa5062b7 100644
--- a/src/dolphindetailsview.h
+++ b/src/dolphindetailsview.h
@@ -22,8 +22,7 @@
#define DOLPHINDETAILSVIEW_H
#include <dolphinview.h>
-#include <QtGui/QStyleOption>
-#include <QtGui/QTreeView>
+#include <QTreeView>
#include <libdolphin_export.h>
class DolphinController;
@@ -146,7 +145,9 @@ private:
private:
DolphinController* m_controller;
- QStyleOptionViewItem m_viewOptions;
+
+ QFont m_font;
+ QSize m_decorationSize;
bool m_clearAdditionalInfo;