diff --git a/plugins/vestige/vestige.cpp b/plugins/vestige/vestige.cpp index 1d54538b63e..82d4d0407b6 100644 --- a/plugins/vestige/vestige.cpp +++ b/plugins/vestige/vestige.cpp @@ -82,11 +82,11 @@ Plugin::Descriptor Q_DECL_EXPORT vestige_plugin_descriptor = } -class vstSubWin : public QMdiSubWindow +class vstSubWin : public SubWindow { public: vstSubWin( QWidget * _parent ) : - QMdiSubWindow( _parent ) + SubWindow( _parent ) { setAttribute( Qt::WA_DeleteOnClose, false ); setWindowFlags( Qt::WindowCloseButtonHint ); diff --git a/plugins/vestige/vestige.h b/plugins/vestige/vestige.h index 3b92eea8ffc..e4ef11fce52 100644 --- a/plugins/vestige/vestige.h +++ b/plugins/vestige/vestige.h @@ -29,14 +29,13 @@ #include #include -#include #include #include "Instrument.h" #include "InstrumentView.h" #include "Note.h" #include "Knob.h" - +#include "SubWindow.h" #include "AutomatableModel.h"