Commit 9d070085 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remember last opened directory

(cherry picked from commit 547a7577)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e1871918
......@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment