[vlc-commits] commit: Qt4: fix open dialog issue when file browser is embedded ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Sat Jul 17 01:21:50 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jul 17 01:20:56 2010 +0200| [e2254d4cc2ad6e358bc707e60a88015de3af4a44] | committer: Jean-Baptiste Kempf
Qt4: fix open dialog issue when file browser is embedded
Close #3893
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2254d4cc2ad6e358bc707e60a88015de3af4a44
---
modules/gui/qt4/components/open_panels.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index b257900..6431ebd 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -271,7 +271,11 @@ void FileOpenPanel::updateMRL()
fileList << ui.fileListWidg->item( i )->text();
}
else
+ {
fileList = dialogBox->selectedFiles();
+ for( int i = 0; i < fileList.count(); i++ )
+ fileList[i] = toNativeSeparators( fileList[i] );
+ }
/* Options */
if( ui.subCheckBox->isChecked() && !ui.subInput->text().isEmpty() ) {
More information about the vlc-commits
mailing list