[vlc-commits] Qt: remember last opened directory

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


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

Qt: remember last opened directory
(cherry picked from commit 547a75774fd99b5c3a1223b1e2361f78f821d9b9)

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

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

 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