diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-01-18 15:23:35 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-01-18 15:23:35 +0100 |
commit | 38e3b6338c18e77cb14dae594befdbc4f4cdf8d0 (patch) | |
tree | b372c3b6593e3eced7d3bc1b8f6c79ccb4e2749d /3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp | |
parent | b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb (diff) | |
download | nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.gz nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.bz2 nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.zip |
Various warning fixes
Diffstat (limited to '3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp')
-rw-r--r-- | 3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp b/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp index bdca7dd5..408d7972 100644 --- a/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp +++ b/3rdparty/QtPropertyBrowser/src/qttreepropertybrowser.cpp @@ -609,7 +609,7 @@ void QtTreePropertyBrowserPrivate::propertyInserted(QtBrowserItem *index, QtBrow m_indexToItem[index] = newItem; newItem->setFlags(newItem->flags() | Qt::ItemIsEditable); - m_treeWidget->setItemExpanded(newItem, true); + newItem->setExpanded(true); updateItem(newItem); } |