From 6eae7bd20152e8831bc1638d194f7e60e46665a5 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 1 Aug 2007 07:22:27 +0000 Subject: [PATCH] - Forgot this one --- src/PropListDelegate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PropListDelegate.h b/src/PropListDelegate.h index e9c1cf076..539c7c33b 100644 --- a/src/PropListDelegate.h +++ b/src/PropListDelegate.h @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -58,7 +59,7 @@ class PropListDelegate: public QItemDelegate { void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const{ char tmp[MAX_CHAR_TMP]; - QStyleOptionViewItemV3 opt = QItemDelegate::setOptions(index, option); + QStyleOptionViewItemV2 opt = QItemDelegate::setOptions(index, option); QPalette::ColorGroup cg = option.state & QStyle::State_Enabled ? QPalette::Normal : QPalette::Disabled; switch(index.column()){ case SIZE: