diff --git a/plugins/zynaddsubfx/ZynAddSubFx.cpp b/plugins/zynaddsubfx/ZynAddSubFx.cpp index e2fa08e05..09fc9fa61 100644 --- a/plugins/zynaddsubfx/ZynAddSubFx.cpp +++ b/plugins/zynaddsubfx/ZynAddSubFx.cpp @@ -178,7 +178,7 @@ void ZynAddSubFxInstrument::loadSettings( const QDomElement & _this ) -void zynAddSubFx::loadFile( const QString & _file ) +void ZynAddSubFxInstrument::loadFile( const QString & _file ) { const std::string fn = QSTR_TO_STDSTR( _file ); if( m_remotePlugin ) @@ -378,7 +378,7 @@ void ZynAddSubFxView::dropEvent( QDropEvent * _de ) const QString value = stringPairDrag::decodeValue( _de ); if( type == "pluginpresetfile" ) { - castModel()->loadFile( value ); + castModel()->loadFile( value ); _de->accept(); return; }