ControllerView: fixed minor artifacts at widget drop shadow
We must not set the Qt::WA_OpaquePaintEvent attribute when painting
semi-transparent a drop shadow for the ControllerView.
(cherry picked from commit b8ad5bf025)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
* ControllerView.cpp - view-component for an controller
|
||||
*
|
||||
* Copyright (c) 2008-2009 Paul Giblock <drfaygo/at/gmail.com>
|
||||
* Copyright (c) 2011 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -64,7 +65,6 @@ ControllerView::ControllerView( Controller * _model, QWidget * _parent ) :
|
||||
m_subWindow = engine::mainWindow()->workspace()->addSubWindow( m_controllerDlg );
|
||||
|
||||
Qt::WindowFlags flags = m_subWindow->windowFlags();
|
||||
flags |= Qt::MSWindowsFixedSizeDialogHint;
|
||||
flags &= ~Qt::WindowMaximizeButtonHint;
|
||||
m_subWindow->setWindowFlags( flags );
|
||||
m_subWindow->setFixedSize( m_subWindow->size() );
|
||||
|
||||
Reference in New Issue
Block a user