[vlc-commits] Qt: remember last opened directory

Jean-Baptiste Kempf git at videolan.org
Sat Dec 31 04:29:35 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Dec 31 04:29:06 2011 +0100| [547a75774fd99b5c3a1223b1e2361f78f821d9b9] | committer: Jean-Baptiste Kempf

Qt: remember last opened directory

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

 modules/gui/qt4/dialogs_provider.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index a18b4b6..e647f14 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -506,6 +506,8 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
     if( dir.isEmpty() )
         return;
 
+    p_intf->p_sys->filepath = qtu( dir );
+
     const char *scheme = "directory";
     if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
         scheme = "dvd";



More information about the vlc-commits mailing list