[vlc-devel] commit: Qt: Forgotten native separators in open panel (cosmetic) and in preferences. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Sep 19 02:56:49 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 18 16:15:55 2008 -0700| [3101cfaba7f7737ab822acf97684ffa1d21ddd57] | committer: Jean-Baptiste Kempf
Qt: Forgotten native separators in open panel (cosmetic) and in preferences.
Should repair skins options.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3101cfaba7f7737ab822acf97684ffa1d21ddd57
---
modules/gui/qt4/components/open_panels.cpp | 2 +-
modules/gui/qt4/components/preferences_widgets.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 53c3c9f..5ce8a1b 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -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();
}
diff --git a/modules/gui/qt4/components/preferences_widgets.cpp b/modules/gui/qt4/components/preferences_widgets.cpp
index 76db951..d6fe01b 100644
--- a/modules/gui/qt4/components/preferences_widgets.cpp
+++ b/modules/gui/qt4/components/preferences_widgets.cpp
@@ -337,7 +337,7 @@ void DirectoryConfigControl::updateField()
QFileDialog::ShowDirsOnly |
QFileDialog::DontResolveSymlinks );
if( dir.isNull() ) return;
- text->setText( dir );
+ text->setText( toNativeSeparators( dir ) );
}
#if 0
More information about the vlc-devel
mailing list