]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/open_panels.cpp
Qt: Forgotten native separators in open panel (cosmetic) and in preferences.
[vlc] / modules / gui / qt4 / components / open_panels.cpp
index 53c3c9f21882a443022fcd4d769fc173dac91186..5ce8a1b1ecdb2ccbc6754e40de4407dcd624d556 100644 (file)
@@ -408,7 +408,7 @@ void DiscOpenPanel::browseDevice()
     QString dir = QFileDialog::getExistingDirectory( 0,
             qtr( I_DEVICE_TOOLTIP ) );
     if (!dir.isEmpty()) {
-        ui.deviceCombo->setEditText( dir );
+        ui.deviceCombo->setEditText( toNativeSeparators( dir ) );
     }
     updateMRL();
 }