[vlc-commits] commit: Qt4: toURI shouldn't need toNativeSeparators() (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Sat Nov 20 14:09:10 CET 2010
vlc | branch: master | Ilkka Ollakka <ileoo at 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("");
More information about the vlc-commits
mailing list