Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
c6ea1279
Commit
c6ea1279
authored
Mar 06, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: Use qfu for psz_homedir. Is it right ? Review please.
parent
f7705ea7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+4
-4
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
c6ea1279
...
@@ -223,7 +223,7 @@ QStringList DialogsProvider::showSimpleOpen(QString help, bool all,
...
@@ -223,7 +223,7 @@ QStringList DialogsProvider::showSimpleOpen(QString help, bool all,
return
QFileDialog
::
getOpenFileNames
(
NULL
,
return
QFileDialog
::
getOpenFileNames
(
NULL
,
help
.
isNull
()
?
help
.
isNull
()
?
qfu
(
I_OP_SEL_FILES
)
:
help
,
qfu
(
I_OP_SEL_FILES
)
:
help
,
p_intf
->
p_libvlc
->
psz_homedir
,
qfu
(
p_intf
->
p_libvlc
->
psz_homedir
),
fileTypes
);
fileTypes
);
}
}
...
@@ -273,9 +273,9 @@ void DialogsProvider::savePlaylist()
...
@@ -273,9 +273,9 @@ void DialogsProvider::savePlaylist()
{
{
QFileDialog
*
qfd
=
new
QFileDialog
(
NULL
,
QFileDialog
*
qfd
=
new
QFileDialog
(
NULL
,
qtr
(
"Choose a filename to save playlist"
),
qtr
(
"Choose a filename to save playlist"
),
p_intf
->
p_libvlc
->
psz_homedir
,
qfu
(
p_intf
->
p_libvlc
->
psz_homedir
)
,
q
fu
(
"XSPF playlist (*.xspf);; "
)
+
q
tr
(
"XSPF playlist (*.xspf);; "
)
+
q
fu
(
"M3U playlist (*.m3u);; Any (*.*) "
)
);
q
tr
(
"M3U playlist (*.m3u);; Any (*.*) "
)
);
qfd
->
setFileMode
(
QFileDialog
::
AnyFile
);
qfd
->
setFileMode
(
QFileDialog
::
AnyFile
);
qfd
->
setAcceptMode
(
QFileDialog
::
AcceptSave
);
qfd
->
setAcceptMode
(
QFileDialog
::
AcceptSave
);
qfd
->
setConfirmOverwrite
(
true
);
qfd
->
setConfirmOverwrite
(
true
);
...
...
Write
Preview
Markdown
is supported
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