ZynAddSubFX: fixed compilation failure due to 0.4.x specific code
After cherry-picking massive changes to ZynAddSubFX (and not resolving conflicts properly) some 0.4.x specific code did not compile anymore. This commit fixes those issues.
This commit is contained in:
@@ -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<zynAddSubFx>()->loadFile( value );
|
||||
castModel<ZynAddSubFxInstrument>()->loadFile( value );
|
||||
_de->accept();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user