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>
This commit is contained in:
Tobias Hunger
2013-03-06 17:38:47 +01:00
parent 05c6ed9bd7
commit 94d813faab

View File

@@ -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()) {