[vlc-commits] commit: Qt4: fix adding items on Win32 ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
git at videolan.org
git at videolan.org
Fri Jan 7 22:55:54 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 7 23:54:59 2011 +0200| [39a36910e19c8a426c6d7960b25aafbf98280a7e] | committer: Rémi Denis-Courmont
Qt4: fix adding items on Win32
Pointed-out-by: 김정은 <sunqueen at paran.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39a36910e19c8a426c6d7960b25aafbf98280a7e
---
modules/gui/qt4/dialogs_provider.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index dcf2e4b..88ae518 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -438,7 +438,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
files.sort();
foreach( const QString &file, files )
{
- QString url = toURI( file );
+ QString url = toURI( toNativeSeparators( file ) );
playlist_Add( THEPL, qtu( url ), NULL, PLAYLIST_APPEND | mode,
PLAYLIST_END, pl, pl_Unlocked );
RecentsMRL::getInstance( p_intf )->addRecent( url );
More information about the vlc-commits
mailing list