Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
4ce6c3f3
Commit
4ce6c3f3
authored
Apr 01, 2008
by
Jean-Baptiste Kempf
Browse files
Escape files when drag'n dropped... Hopefully fix #1525.
parent
bf6537c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/main_interface.cpp
View file @
4ce6c3f3
...
...
@@ -1093,8 +1093,9 @@ void MainInterface::dropEvent(QDropEvent *event)
}
}
bool
first
=
true
;
foreach
(
QUrl
url
,
mimeData
->
urls
()
)
{
QString
s
=
url
.
toString
();
foreach
(
QUrl
url
,
mimeData
->
urls
()
)
{
QString
s
=
"
\"
"
+
url
.
toString
()
+
"
\"
"
;
if
(
s
.
length
()
>
0
)
{
playlist_Add
(
THEPL
,
qtu
(
s
),
NULL
,
PLAYLIST_APPEND
|
(
first
?
PLAYLIST_GO
:
0
),
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment