From 6d4fd201fa8ab375ea27150b2e6a1241dccafc1d Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 23 Jan 2011 23:52:59 +0100 Subject: [PATCH] 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 b8ad5bf025e0104e084e5b536eda793122cf09c4) --- src/gui/widgets/ControllerView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/ControllerView.cpp b/src/gui/widgets/ControllerView.cpp index e6cc65ddb..f9387e7e2 100644 --- a/src/gui/widgets/ControllerView.cpp +++ b/src/gui/widgets/ControllerView.cpp @@ -2,6 +2,7 @@ * ControllerView.cpp - view-component for an controller * * Copyright (c) 2008-2009 Paul Giblock + * Copyright (c) 2011 Tobias Doerffel * * 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() );