Skip to content

Commit

Permalink
ZynAddSubFx: Fix preset loading (#3891)
Browse files Browse the repository at this point in the history
Fix regression from #1719
Fixes #3886
  • Loading branch information
lukas-w authored and tresf committed Oct 17, 2017
1 parent 6fc4577 commit 9d560a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/zynaddsubfx/ZynAddSubFx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ void ZynAddSubFxInstrument::initPlugin()
RemotePlugin::message( IdZasfPresetDirectory ).
addString(
QSTR_TO_STDSTR(
QString( ConfigManager::inst()->factoryPresetsDir() +
QDir::separator() + "ZynAddSubFX" ) ) ) );
QDir( ConfigManager::inst()->factoryPresetsDir() +
"/ZynAddSubFX" ).absolutePath() ) ) );

m_remotePlugin->updateSampleRate( Engine::mixer()->processingSampleRate() );

Expand Down

0 comments on commit 9d560a3

Please sign in to comment.