We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fef905 commit 205b575Copy full SHA for 205b575
plugins/vestige/vestige.cpp
@@ -181,7 +181,13 @@ vestigeInstrument::~vestigeInstrument()
181
182
void vestigeInstrument::loadSettings( const QDomElement & _this )
183
{
184
- loadFile( _this.attribute( "plugin" ) );
+ QString plugin = _this.attribute( "plugin" );
185
+ if( plugin.isEmpty() )
186
+ {
187
+ return;
188
+ }
189
+
190
+ loadFile( plugin );
191
m_pluginMutex.lock();
192
if( m_plugin != NULL )
193
0 commit comments