win32-version: fixed crash when using VST plugins without GUI (stable backport)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1890 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-12-08 20:46:35 +00:00
parent e5dc935ec5
commit 56c5390888
2 changed files with 10 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
2008-12-08 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/vst_base/vst_plugin.cpp:
win32-version: fixed crash when using VST plugins without GUI
* include/effect_chain.h:
export effectChain for properly building FLP import DLL
* include/song_editor.h:
* src/gui/song_editor.cpp:
fixed recent commit (m_timeLine was not declared as member yet)

View File

@@ -196,7 +196,10 @@ void vstPlugin::showEditor( QWidget * _parent )
xe->show();
#endif
m_pluginWidget->show();
if( m_pluginWidget )
{
m_pluginWidget->show();
}
}