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
eda8ea10
Commit
eda8ea10
authored
Oct 17, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: open file requester when the playlist is empty, but media library or services discovery aren't
parent
6dc378e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+1
-3
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
eda8ea10
...
@@ -490,9 +490,7 @@ void ControlsWidget::stop()
...
@@ -490,9 +490,7 @@ void ControlsWidget::stop()
void
ControlsWidget
::
play
()
void
ControlsWidget
::
play
()
{
{
if
(
THEPL
)
if
(
THEPL
->
current
.
i_size
==
0
)
msg_Dbg
(
p_intf
,
"There is %i playlist items"
,
THEPL
->
items
.
i_size
);
/* FIXME: remove me */
if
(
playlist_IsEmpty
(
THEPL
)
)
{
{
/* The playlist is empty, open a file requester */
/* The playlist is empty, open a file requester */
THEDP
->
openFileDialog
();
THEDP
->
openFileDialog
();
...
...
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