vlc | branch: master | Ilkka Ollakka <il...@videolan.org> | Sat Nov 20 15:07:31 
2010 +0200| [a23e59574c13ceadff503979f38fb464073d3279] | committer: Ilkka 
Ollakka 

Qt4: toURI shouldn't need toNativeSeparators()

Seems like most likely cause to #4078 (reappeared near sametime as toURI was 
introduced).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a23e59574c13ceadff503979f38fb464073d3279
---

 modules/gui/qt4/util/qt_dirs.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/util/qt_dirs.cpp b/modules/gui/qt4/util/qt_dirs.cpp
index 5656941..0041899 100644
--- a/modules/gui/qt4/util/qt_dirs.cpp
+++ b/modules/gui/qt4/util/qt_dirs.cpp
@@ -28,9 +28,7 @@
 
 QString toURI( const QString& s )
 {
-    QString path = toNativeSeparators( s );
-
-    char *psz = make_URI( qtu(path), NULL );
+    char *psz = make_URI( qtu(s), NULL );
     if( psz == NULL )
         return qfu("");
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to