Fix RemoteVstPlugin not exiting when effect removed

This commit is contained in:
Hyunin Song
2018-05-20 15:40:36 +09:00
committed by Hyunjin Song
parent b808631975
commit 55d3fbc908
2 changed files with 6 additions and 12 deletions

View File

@@ -164,18 +164,7 @@ EffectView::EffectView( Effect * _model, QWidget * _parent ) :
EffectView::~EffectView()
{
#ifdef LMMS_BUILD_LINUX
delete m_subWindow;
#else
if( m_subWindow )
{
// otherwise on win32 build VST GUI can get lost
m_subWindow->hide();
}
#endif
}