diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-23 08:01:36 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-23 08:01:36 +0200 |
commit | 6f4e49bb47b064024863e87bb7a3ae3c8348c40a (patch) | |
tree | b0786577907a79204a51d7ee4a6a387b47395341 /3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp | |
parent | 0508fb3627966bd1298b614190fb9160cbcba415 (diff) | |
download | nextpnr-6f4e49bb47b064024863e87bb7a3ae3c8348c40a.tar.gz nextpnr-6f4e49bb47b064024863e87bb7a3ae3c8348c40a.tar.bz2 nextpnr-6f4e49bb47b064024863e87bb7a3ae3c8348c40a.zip |
cleaned some warnings
Diffstat (limited to '3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp')
-rw-r--r-- | 3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp b/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp index 58cfc510..c39c8667 100644 --- a/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp +++ b/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp @@ -277,14 +277,14 @@ void QtButtonPropertyBrowserPrivate::propertyInserted(QtBrowserItem *index, QtBr if (!parentItem->container) { m_recreateQueue.removeAll(parentItem); WidgetItem *grandParent = parentItem->parent; - QWidget *w = 0; + //QWidget *w = 0; QGridLayout *l = 0; const int oldRow = gridRow(parentItem); if (grandParent) { - w = grandParent->container; + //w = grandParent->container; l = grandParent->layout; } else { - w = q_ptr; + //w = q_ptr; l = m_mainLayout; } QFrame *container = new QFrame(); |