From 90ac0706a6122d4f8e72d6aeb8744c38771311cf Mon Sep 17 00:00:00 2001 From: Steffen Baranowsky Date: Mon, 6 Jun 2016 16:21:56 +0200 Subject: [PATCH] MDI Subwindow Decoration for VeSTige instruments closes #2824 --- plugins/vst_base/VstPlugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/vst_base/VstPlugin.cpp b/plugins/vst_base/VstPlugin.cpp index bb4116cc6e4..d415adbb058 100644 --- a/plugins/vst_base/VstPlugin.cpp +++ b/plugins/vst_base/VstPlugin.cpp @@ -30,7 +30,6 @@ #include #include #include -#include #ifdef LMMS_BUILD_LINUX #if QT_VERSION < 0x050000 #include @@ -53,15 +52,16 @@ #include "MainWindow.h" #include "Mixer.h" #include "Song.h" +#include "SubWindow.h" #include "templates.h" #include "FileDialog.h" #ifdef LMMS_EMBED_VST -class vstSubWin : public QMdiSubWindow +class vstSubWin : public SubWindow { public: vstSubWin( QWidget * _parent ) : - QMdiSubWindow( _parent ) + SubWindow( _parent ) { setAttribute( Qt::WA_DeleteOnClose, false ); }