ControllerRackView: fixed widget size issues after closing
There were some issues with the ControllerRackView when closing it with recent Qt versions. Issue seems to be fixed by not setting a size constraint policy for the QMdiSubWindow. Partially closes #3149779.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* ControllerRackView.cpp - view for song's controllers
|
||||
*
|
||||
* Copyright (c) 2008-2009 Paul Giblock <drfaygo/at/gmail.com>
|
||||
* Copyright (c) 2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2010-2011 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -82,9 +82,6 @@ ControllerRackView::ControllerRackView( ) :
|
||||
flags &= ~Qt::WindowMaximizeButtonHint;
|
||||
subWin->setWindowFlags( flags );
|
||||
|
||||
|
||||
subWin->layout()->setSizeConstraint( QLayout::SetMaximumSize );
|
||||
|
||||
parentWidget()->setAttribute( Qt::WA_DeleteOnClose, false );
|
||||
parentWidget()->move( 880, 310 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user