From 1656f4573462d60a291cf634ebf1aabe270773ef Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 13 Apr 2009 01:25:46 +0200 Subject: [PATCH] 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. --- plugins/zynaddsubfx/zynaddsubfx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/zynaddsubfx/zynaddsubfx.cpp b/plugins/zynaddsubfx/zynaddsubfx.cpp index 9b2527b45..88b8538c1 100644 --- a/plugins/zynaddsubfx/zynaddsubfx.cpp +++ b/plugins/zynaddsubfx/zynaddsubfx.cpp @@ -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();