Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
67fe5ea3
Commit
67fe5ea3
authored
7 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
qt: remove unused parameter
parent
2d40d070
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/gui/qt/dialogs_provider.cpp
+4
-5
4 additions, 5 deletions
modules/gui/qt/dialogs_provider.cpp
modules/gui/qt/dialogs_provider.hpp
+1
-1
1 addition, 1 deletion
modules/gui/qt/dialogs_provider.hpp
with
5 additions
and
6 deletions
modules/gui/qt/dialogs_provider.cpp
+
4
−
5
View file @
67fe5ea3
...
...
@@ -111,7 +111,7 @@ DialogsProvider::~DialogsProvider()
delete
miscPopupMenu
;
}
QStringList
DialogsProvider
::
getOpenURL
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
,
QStringList
DialogsProvider
::
getOpenURL
(
QWidget
*
parent
,
const
QString
&
caption
,
const
QString
&
dir
,
const
QString
&
filter
,
...
...
@@ -395,9 +395,8 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
}
else
/* non-save mode */
{
QStringList
urls
=
getOpenURL
(
p_intf
,
NULL
,
qfu
(
p_arg
->
psz_title
),
p_intf
->
p_sys
->
filepath
,
extensions
);
QStringList
urls
=
getOpenURL
(
NULL
,
qfu
(
p_arg
->
psz_title
),
p_intf
->
p_sys
->
filepath
,
extensions
);
p_arg
->
i_results
=
urls
.
count
();
p_arg
->
psz_results
=
(
char
**
)
malloc
(
p_arg
->
i_results
*
sizeof
(
char
*
)
);
i
=
0
;
...
...
@@ -494,7 +493,7 @@ QStringList DialogsProvider::showSimpleOpen( const QString& help,
ADD_EXT_FILTER
(
fileTypes
,
EXTENSIONS_ALL
);
fileTypes
.
replace
(
";*"
,
" *"
);
QStringList
urls
=
getOpenURL
(
p_intf
,
NULL
,
QStringList
urls
=
getOpenURL
(
NULL
,
help
.
isEmpty
()
?
qtr
(
I_OP_SEL_FILES
)
:
help
,
path
.
isEmpty
()
?
p_intf
->
p_sys
->
filepath
:
path
,
fileTypes
);
...
...
This diff is collapsed.
Click to expand it.
modules/gui/qt/dialogs_provider.hpp
+
1
−
1
View file @
67fe5ea3
...
...
@@ -91,7 +91,7 @@ public:
const
QString
&
path
=
QString
()
);
bool
isDying
()
{
return
b_isDying
;
}
static
QString
getDirectoryDialog
(
intf_thread_t
*
p_intf
);
static
QStringList
getOpenURL
(
intf_thread_t
*
p_intf
,
QWidget
*
parent
=
NULL
,
static
QStringList
getOpenURL
(
QWidget
*
parent
=
NULL
,
const
QString
&
caption
=
QString
(),
const
QString
&
dir
=
QString
(),
const
QString
&
filter
=
QString
(),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment