ZynAddSubFX: convert full filename to native separators

When loading settings, make sure directory separators of temporary file
are native. Should have worked flawlessly before though.
This commit is contained in:
Tobias Doerffel
2009-04-13 01:25:46 +02:00
parent ad79ac7e21
commit 1656f45734

View File

@@ -138,7 +138,8 @@ void zynAddSubFx::loadSettings( const QDomElement & _this )
tf.write( a );
lock();
sendMessage( message( IdLoadSettingsFromFile ).
addString( tf.fileName().toStdString() ) );
addString( QDir::toNativeSeparators(
tf.fileName() ).toStdString() ) );
waitForMessage( IdLoadSettingsFromFile );
unlock();