diff options
-rw-r--r-- | 3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp b/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp index 9e506af3..a92ab537 100644 --- a/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp +++ b/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp @@ -145,7 +145,7 @@ QtPropertyEditorView::QtPropertyEditorView(QWidget *parent) : void QtPropertyEditorView::drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const { - QStyleOptionViewItemV3 opt = option; + QStyleOptionViewItem opt = option; bool hasValue = true; if (m_editorPrivate) { QtProperty *property = m_editorPrivate->indexToProperty(index); @@ -347,7 +347,7 @@ void QtPropertyEditorDelegate::paint(QPainter *painter, const QStyleOptionViewIt if (property) hasValue = property->hasValue(); } - QStyleOptionViewItemV3 opt = option; + QStyleOptionViewItem opt = option; if ((m_editorPrivate && index.column() == 0) || !hasValue) { QtProperty *property = m_editorPrivate->indexToProperty(index); if (property && property->isModified()) { |