Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
547a7577
Commit
547a7577
authored
Dec 31, 2011
by
Jean-Baptiste Kempf
Browse files
Qt: remember last opened directory
parent
06c3e835
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/dialogs_provider.cpp
View file @
547a7577
...
@@ -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"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment