Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e3fa3a21
Commit
e3fa3a21
authored
May 18, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: playlist, use the new helper to Open files
parent
4607174b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+3
-5
No files found.
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
e3fa3a21
...
...
@@ -31,6 +31,7 @@
#include "components/playlist/playlist_model.hpp"
#include "input_manager.hpp"
/* THEMIM */
#include "util/qt_dirs.hpp"
#include "recents.hpp"
/* Open:: */
#include <vlc_intf_strings.h>
/* I_DIR */
...
...
@@ -934,11 +935,8 @@ bool PLModel::action( QAction *action, const QModelIndexList &indexes )
case
ACTION_ENQUEUEFILE
:
foreach
(
const
QString
&
uri
,
a
.
uris
)
playlist_Add
(
THEPL
,
uri
.
toLatin1
().
constData
(),
NULL
,
PLAYLIST_APPEND
|
PLAYLIST_PREPARSE
,
PLAYLIST_END
,
getPLRootType
()
==
ROOTTYPE_CURRENT_PLAYING
,
pl_Unlocked
);
Open
::
openMRL
(
p_intf
,
uri
.
toLatin1
().
constData
(),
false
,
getPLRootType
()
==
ROOTTYPE_CURRENT_PLAYING
);
return
true
;
case
ACTION_ENQUEUEDIR
:
...
...
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