[vlc-commits] Qt: fix small error

Jean-Baptiste Kempf git at videolan.org
Tue Apr 3 01:59:24 CEST 2012


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

Qt: fix small error

This was not correctly saving the last opened folder with some encoding

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

 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 45429cd..7b53a29 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