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
0b2e8550
Commit
0b2e8550
authored
Aug 26, 2009
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: two more places where uri-encoded mrl are required
parent
685cd612
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+3
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+3
-1
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
0b2e8550
...
...
@@ -701,8 +701,10 @@ void DialogsProvider::SDMenuAction( const QString& data )
**/
void
DialogsProvider
::
playMRL
(
const
QString
&
mrl
)
{
playlist_Add
(
THEPL
,
qtu
(
mrl
)
,
NULL
,
char
*
psz_uri
=
make_URI
(
qtu
(
mrl
)
);
playlist_Add
(
THEPL
,
psz_uri
,
NULL
,
PLAYLIST_APPEND
|
PLAYLIST_GO
,
PLAYLIST_END
,
true
,
false
);
free
(
psz_uri
);
RecentsMRL
::
getInstance
(
p_intf
)
->
addRecent
(
mrl
);
}
modules/gui/qt4/main_interface.cpp
View file @
0b2e8550
...
...
@@ -1256,9 +1256,11 @@ void MainInterface::dropEventPlay( QDropEvent *event, bool b_play )
QString
s
=
toNativeSeparators
(
url
.
toLocalFile
()
);
if
(
s
.
length
()
>
0
)
{
playlist_Add
(
THEPL
,
qtu
(
s
),
NULL
,
char
*
psz_uri
=
make_URI
(
qtu
(
s
)
);
playlist_Add
(
THEPL
,
psz_uri
,
NULL
,
PLAYLIST_APPEND
|
(
first
?
PLAYLIST_GO
:
PLAYLIST_PREPARSE
),
PLAYLIST_END
,
true
,
pl_Unlocked
);
free
(
psz_uri
);
first
=
false
;
RecentsMRL
::
getInstance
(
p_intf
)
->
addRecent
(
s
);
}
...
...
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