[vlc-devel] commit: Forgotten FileSeparator issue. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed May 20 18:53:44 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May 17 02:19:55 2009 +0200| [5a892e07151dd30c260eb005d2f0ed4b791c41fd] | committer: Jean-Baptiste Kempf 

Forgotten FileSeparator issue.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a892e07151dd30c260eb005d2f0ed4b791c41fd
---

 modules/gui/qt4/dialogs/vlm.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 1270279..8b5671e 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -349,10 +349,11 @@ void VLMDialog::mediasPopulator()
 
 bool VLMDialog::importVLMConf()
 {
-    QString openVLMConfFileName = QFileDialog::getOpenFileName(
+    QString openVLMConfFileName = toNativeSeparator(
+            QFileDialog::getOpenFileName(
             this, qtr( "Open VLM configuration..." ),
             qfu( config_GetHomeDir() ),
-            qtr( "VLM conf (*.vlm);;All (*)" ) );
+            qtr( "VLM conf (*.vlm);;All (*)" ) ) );
 
     if( !openVLMConfFileName.isEmpty() )
     {




More information about the vlc-devel mailing list