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
Steve Lhomme
VLC
Commits
0d33f98e
Commit
0d33f98e
authored
Jul 15, 2013
by
Ludovic Fauvet
Browse files
Qt: QString::fromAscii has been deprecated in Qt5
parent
8fc155e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/dialogs_provider.cpp
View file @
0d33f98e
...
...
@@ -332,7 +332,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
foreach
(
const
QString
&
file
,
files
)
p_arg
->
psz_results
[
i
++
]
=
strdup
(
qtu
(
toNativeSepNoSlash
(
file
)
)
);
if
(
i
==
0
)
p_intf
->
p_sys
->
filepath
=
QString
::
from
Ascii
(
""
);
p_intf
->
p_sys
->
filepath
=
QString
::
from
Latin1
(
""
);
else
p_intf
->
p_sys
->
filepath
=
qfu
(
p_arg
->
psz_results
[
i
-
1
]
);
}
...
...
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