Fix vanishing output pane manage button

Looks like QApplication::globalStrut() can be 0,
but we want the button to expand anyhow.

Change-Id: Ia0f5c6c97bf352d16edd010efee7fda944b7a5ad
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2016-03-04 12:08:26 +01:00
committed by Tobias Hunger
parent f8fc11ea87
commit c165f2f0cc

View File

@@ -755,6 +755,7 @@ OutputPaneManageButton::OutputPaneManageButton()
{
setFocusPolicy(Qt::NoFocus);
setCheckable(true);
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
}
QSize OutputPaneManageButton::sizeHint() const