Don't show error when loading empty VeSTige instance
This commit is contained in:
committed by
Hyunjin Song
parent
6fef905dfe
commit
205b57531d
@@ -181,7 +181,13 @@ vestigeInstrument::~vestigeInstrument()
|
||||
|
||||
void vestigeInstrument::loadSettings( const QDomElement & _this )
|
||||
{
|
||||
loadFile( _this.attribute( "plugin" ) );
|
||||
QString plugin = _this.attribute( "plugin" );
|
||||
if( plugin.isEmpty() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
loadFile( plugin );
|
||||
m_pluginMutex.lock();
|
||||
if( m_plugin != NULL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user