diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2013-03-06 17:38:47 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2013-03-07 12:22:58 +0100 |
commit | 94d813faab393ce5fdb0837d719de197e674d36f (patch) | |
tree | a3fe92ab492d59d7728447dd21a1ecee1a58fc05 /src/plugins/projectexplorer/projectwindow.cpp | |
parent | 05c6ed9bd722c5578ff479a12f3fa727036c3055 (diff) | |
download | qt-creator-94d813faab393ce5fdb0837d719de197e674d36f.tar.gz |
Fix projectwindow layout
We no longer have the spacer in the layout, so we do not need to
subtract that one.
Change-Id: If14e6765c4e1dda2245b0686c006db69f5b5ced0
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/projectwindow.cpp')
-rw-r--r-- | src/plugins/projectexplorer/projectwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp index 3d6046c53d..8d8ca4677e 100644 --- a/src/plugins/projectexplorer/projectwindow.cpp +++ b/src/plugins/projectexplorer/projectwindow.cpp @@ -166,15 +166,15 @@ PanelsWidget::~PanelsWidget() * | icon | name | * + +-------------------------------------------+ * | | line | - * +--------+-------------------------------------------+ ABOVE_CONTENTS_MARGIN - * | widget (with contentsmargins adjusted!) | + * + +-------------------------------------------+ ABOVE_CONTENTS_MARGIN + * | | widget (with contentsmargins adjusted!) | * +--------+-------------------------------------------+ BELOW_CONTENTS_MARGIN */ void PanelsWidget::addPropertiesPanel(PropertiesPanel *panel) { QTC_ASSERT(panel, return); - const int headerRow(m_layout->rowCount() - 1); + const int headerRow = m_layout->rowCount(); // icon: if (!panel->icon().isNull()) { |