diff options
Diffstat (limited to 'qtpropertybrowser/src/qtbuttonpropertybrowser.cpp')
-rw-r--r-- | qtpropertybrowser/src/qtbuttonpropertybrowser.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qtpropertybrowser/src/qtbuttonpropertybrowser.cpp b/qtpropertybrowser/src/qtbuttonpropertybrowser.cpp index 0877fc3..e5669e4 100644 --- a/qtpropertybrowser/src/qtbuttonpropertybrowser.cpp +++ b/qtpropertybrowser/src/qtbuttonpropertybrowser.cpp @@ -278,14 +278,11 @@ void QtButtonPropertyBrowserPrivate::propertyInserted(QtBrowserItem *index, QtBr if (!parentItem->container) { m_recreateQueue.removeAll(parentItem); WidgetItem *grandParent = parentItem->parent; - QWidget *w = 0; QGridLayout *l = 0; const int oldRow = gridRow(parentItem); if (grandParent) { - w = grandParent->container; l = grandParent->layout; } else { - w = q_ptr; l = m_mainLayout; } QFrame *container = new QFrame(); |