Forgotten FileSeparator issue.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 17 May 2009 00:19:55 +0000 (02:19 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 17 May 2009 00:19:55 +0000 (02:19 +0200)
modules/gui/qt4/dialogs/vlm.cpp

index 1270279..8b5671e 100644 (file)
@@ -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() )
     {