aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp')
-rw-r--r--3rdparty/QtPropertyBrowser/src/qtbuttonpropertybrowser.cpp6
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();