Skip to content

Commit

Permalink
MDI Subwindow Decoration for VeSTige instruments closes #2824 (#2826)
Browse files Browse the repository at this point in the history
* MDI Subwindow Decoration for VeSTige instruments closes #2824

* revert changes

* change QMdiSubWindow to our SubWindow in Vestige
  • Loading branch information
BaraMGB authored Jun 26, 2019
1 parent 7834e10 commit 68cb917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/vestige/vestige.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
3 changes: 1 addition & 2 deletions plugins/vestige/vestige.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@

#include <QMutex>
#include <QLayout>
#include <QMdiSubWindow>
#include <QScrollArea>

#include "Instrument.h"
#include "InstrumentView.h"
#include "Note.h"
#include "Knob.h"

#include "SubWindow.h"
#include "AutomatableModel.h"


Expand Down

0 comments on commit 68cb917

Please sign in to comment.