diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-07 10:45:40 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-07 10:45:40 +0200 |
commit | fa2ca8d9e5baf9d3618e0eca06d6c15e3af56556 (patch) | |
tree | af07cea9530a118bff1f60744c7e722c4ec54e46 /3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp | |
parent | 59b27dadd5cca9402b2c061e48d05d6ab3d44b7a (diff) | |
download | nextpnr-fa2ca8d9e5baf9d3618e0eca06d6c15e3af56556.tar.gz nextpnr-fa2ca8d9e5baf9d3618e0eca06d6c15e3af56556.tar.bz2 nextpnr-fa2ca8d9e5baf9d3618e0eca06d6c15e3af56556.zip |
removed deprecated class name, fixes warnings with later qt5
Diffstat (limited to '3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp')
-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()) { |