[vlc-commits] Qt: fix small error

Jean-Baptiste Kempf git at videolan.org
Tue Apr 3 02:02:35 CEST 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr  3 00:53:19 2012 +0200| [7a6bff50e992057ee2ec2ff5d10c4eb7ee1c7fa7] | committer: Jean-Baptiste Kempf

Qt: fix small error

This was not correctly saving the last opened folder with some encoding
(cherry picked from commit 0fe06bc3f1cae8823f3a7baa012b1ff4e126a286)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 e647f14..916bac1 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -506,7 +506,7 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
     if( dir.isEmpty() )
         return;
 
-    p_intf->p_sys->filepath = qtu( dir );
+    p_intf->p_sys->filepath = dir;
 
     const char *scheme = "directory";
     if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )



More information about the vlc-commits mailing list