Commit 547a7577 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remember last opened directory

parent 06c3e835
...@@ -506,6 +506,8 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go ) ...@@ -506,6 +506,8 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
if( dir.isEmpty() ) if( dir.isEmpty() )
return; return;
p_intf->p_sys->filepath = qtu( dir );
const char *scheme = "directory"; const char *scheme = "directory";
if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) ) if( dir.endsWith( "/VIDEO_TS", Qt::CaseInsensitive ) )
scheme = "dvd"; 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