Skip to content

Commit

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

* MDI Subwindow Decoration for VeSTige instruments closes LMMS#2824

* revert changes

* change QMdiSubWindow to our SubWindow in Vestige
  • Loading branch information
BaraMGB authored Jun 26, 2019
1 parent 4215e37 commit 62dd0c8
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 62dd0c8

Please sign in to comment.