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
4cd019b1
Commit
4cd019b1
authored
Sep 10, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: selector, prevent some podcast crashes
parent
a2df1797
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+5
-0
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
4cd019b1
...
...
@@ -41,6 +41,7 @@
#include <QPainter>
#include <QPalette>
#include <QScrollBar>
#include <assert.h>
#include <vlc_playlist.h>
#include <vlc_services_discovery.h>
...
...
@@ -457,6 +458,8 @@ void PLSelector::plItemAdded( int item, int parent )
void
PLSelector
::
plItemRemoved
(
int
id
)
{
if
(
!
podcastsParent
)
return
;
int
c
=
podcastsParent
->
childCount
();
for
(
int
i
=
0
;
i
<
c
;
i
++
)
{
...
...
@@ -495,6 +498,8 @@ void PLSelector::inputItemUpdate( input_item_t *arg )
void
PLSelector
::
podcastAdd
(
PLSelItem
*
)
{
assert
(
podcastsParent
);
bool
ok
;
QString
url
=
QInputDialog
::
getText
(
this
,
qtr
(
"Subscribe"
),
qtr
(
"Enter URL of the podcast to subscribe to:"
),
...
...
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