forked from qt-creator/qt-creator
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:
committed by
Tobias Hunger
parent
f8fc11ea87
commit
c165f2f0cc
@@ -755,6 +755,7 @@ OutputPaneManageButton::OutputPaneManageButton()
|
||||
{
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setCheckable(true);
|
||||
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
|
||||
}
|
||||
|
||||
QSize OutputPaneManageButton::sizeHint() const
|
||||
|
||||
Reference in New Issue
Block a user