Commit 3101cfab authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: Forgotten native separators in open panel (cosmetic) and in preferences.

Should repair skins options.
parent 98449e55
...@@ -408,7 +408,7 @@ void DiscOpenPanel::browseDevice() ...@@ -408,7 +408,7 @@ void DiscOpenPanel::browseDevice()
QString dir = QFileDialog::getExistingDirectory( 0, QString dir = QFileDialog::getExistingDirectory( 0,
qtr( I_DEVICE_TOOLTIP ) ); qtr( I_DEVICE_TOOLTIP ) );
if (!dir.isEmpty()) { if (!dir.isEmpty()) {
ui.deviceCombo->setEditText( dir ); ui.deviceCombo->setEditText( toNativeSeparators( dir ) );
} }
updateMRL(); updateMRL();
} }
......
...@@ -337,7 +337,7 @@ void DirectoryConfigControl::updateField() ...@@ -337,7 +337,7 @@ void DirectoryConfigControl::updateField()
QFileDialog::ShowDirsOnly | QFileDialog::ShowDirsOnly |
QFileDialog::DontResolveSymlinks ); QFileDialog::DontResolveSymlinks );
if( dir.isNull() ) return; if( dir.isNull() ) return;
text->setText( dir ); text->setText( toNativeSeparators( dir ) );
} }
#if 0 #if 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment