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:
Tobias Doerffel
2009-09-16 00:07:36 +02:00
parent 75a93a0e83
commit 18a677cec3

View File

@@ -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;
}