From f67e8e0af703dc41abe4cee11100e71d8f7b1a71 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 23 Jan 2011 23:54:06 +0100 Subject: [PATCH] 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. --- src/gui/widgets/ControllerRackView.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/widgets/ControllerRackView.cpp b/src/gui/widgets/ControllerRackView.cpp index 804d7e5db..e4a241568 100644 --- a/src/gui/widgets/ControllerRackView.cpp +++ b/src/gui/widgets/ControllerRackView.cpp @@ -2,7 +2,7 @@ * ControllerRackView.cpp - view for song's controllers * * Copyright (c) 2008-2009 Paul Giblock - * Copyright (c) 2010 Tobias Doerffel + * Copyright (c) 2010-2011 Tobias Doerffel * * 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 ); }