diff options
author | dt <qtc-committer@nokia.com> | 2009-10-08 20:09:40 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-10-09 10:43:04 +0200 |
commit | 0fe68cd102f34b56dcd26d9163ff6756c4f5e4ae (patch) | |
tree | 10e591774af4d40eaa81792721410ca6af0122f8 | |
parent | 23d6971ef99392b61aec390fd9090b711110f230 (diff) | |
download | qt-creator-0fe68cd102f34b56dcd26d9163ff6756c4f5e4ae.tar.gz |
Fix handling of spacers on Projects pane
(cherry picked from commit 7560467523079ef6b8367daff03d7d02b6454657)
-rw-r--r-- | src/plugins/projectexplorer/buildsettingspropertiespage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp index 0460111bef..3b67ab1885 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp @@ -109,6 +109,7 @@ void BuildSettingsSubWidgets::addWidget(const QString &name, QWidget *widget) layout()->addWidget(label); layout()->addWidget(widget); + m_spacerItems.append(item); m_labels.append(label); m_widgets.append(widget); } @@ -122,6 +123,7 @@ void BuildSettingsSubWidgets::clear() qDeleteAll(m_labels); m_widgets.clear(); m_labels.clear(); + m_spacerItems.clear(); } QList<QWidget *> BuildSettingsSubWidgets::widgets() const |