FxMixerView: do not set size constraint on parent MDI window

As reported by Mikobuntu on 2012-12-06 there's a problem when minimizing
the FX mixer window. The problem disappears when not setting a size
constraint on the mixer's MDI window.
This commit is contained in:
Tobias Doerffel
2012-12-09 17:29:14 +01:00
parent c27c321778
commit 639763dbb2

View File

@@ -238,7 +238,7 @@ FxMixerView::FxMixerView() :
flags |= Qt::MSWindowsFixedSizeDialogHint;
flags &= ~Qt::WindowMaximizeButtonHint;
subWin->setWindowFlags( flags );
subWin->layout()->setSizeConstraint(QLayout::SetFixedSize);
//subWin->layout()->setSizeConstraint(QLayout::SetFixedSize);
parentWidget()->setAttribute( Qt::WA_DeleteOnClose, false );
parentWidget()->move( 5, 310 );