Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
595db21a
Commit
595db21a
authored
Aug 20, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: remove unnecessary path to URL conversion
Recent entries are already MRLs.
parent
cb6e4c62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+2
-7
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
595db21a
...
@@ -758,12 +758,7 @@ void DialogsProvider::SDMenuAction( const QString& data )
...
@@ -758,12 +758,7 @@ void DialogsProvider::SDMenuAction( const QString& data )
**/
**/
void
DialogsProvider
::
playMRL
(
const
QString
&
mrl
)
void
DialogsProvider
::
playMRL
(
const
QString
&
mrl
)
{
{
char
*
uri
=
make_URI
(
qtu
(
mrl
),
NULL
);
playlist_Add
(
THEPL
,
qtu
(
mrl
),
NULL
,
if
(
unlikely
(
uri
==
NULL
)
)
return
;
playlist_Add
(
THEPL
,
uri
,
NULL
,
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
,
true
,
false
);
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
,
true
,
false
);
RecentsMRL
::
getInstance
(
p_intf
)
->
addRecent
(
mrl
);
RecentsMRL
::
getInstance
(
p_intf
)
->
addRecent
(
mrl
);
free
(
uri
);
}
}
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