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
9998197a
Commit
9998197a
authored
May 24, 2004
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2: Open the file requester dialog when clicking on "play" and the
playlist is empty
parent
458cd045
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
modules/gui/skins2/commands/cmd_input.cpp
modules/gui/skins2/commands/cmd_input.cpp
+11
-1
No files found.
modules/gui/skins2/commands/cmd_input.cpp
View file @
9998197a
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <vlc/aout.h>
#include <vlc/aout.h>
#include "cmd_input.hpp"
#include "cmd_input.hpp"
#include "cmd_dialogs.hpp"
void
CmdPlay
::
execute
()
void
CmdPlay
::
execute
()
...
@@ -34,7 +35,16 @@ void CmdPlay::execute()
...
@@ -34,7 +35,16 @@ void CmdPlay::execute()
return
;
return
;
}
}
playlist_Play
(
pPlaylist
);
if
(
pPlaylist
->
i_size
)
{
playlist_Play
(
pPlaylist
);
}
else
{
// If the playlist is empty, open a file requester instead
CmdDlgFile
cmd
(
getIntf
()
);
cmd
.
execute
();
}
}
}
...
...
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