Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f457a644
Commit
f457a644
authored
Feb 14, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: code reindentation
parent
986ba8fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+11
-11
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
f457a644
...
@@ -240,17 +240,17 @@ PLSelItem * putPLData( PLSelItem* item, playlist_item_t* plItem )
...
@@ -240,17 +240,17 @@ PLSelItem * putPLData( PLSelItem* item, playlist_item_t* plItem )
PLSelItem
*
PLSelector
::
addPodcastItem
(
playlist_item_t
*
p_item
)
PLSelItem
*
PLSelector
::
addPodcastItem
(
playlist_item_t
*
p_item
)
{
{
vlc_gc_incref
(
p_item
->
p_input
);
vlc_gc_incref
(
p_item
->
p_input
);
char
*
psz_name
=
input_item_GetName
(
p_item
->
p_input
);
char
*
psz_name
=
input_item_GetName
(
p_item
->
p_input
);
PLSelItem
*
item
=
addItem
(
PLSelItem
*
item
=
addItem
(
PL_ITEM_TYPE
,
qfu
(
psz_name
),
false
,
podcastsParent
);
PL_ITEM_TYPE
,
qfu
(
psz_name
),
false
,
podcastsParent
);
item
->
addAction
(
RM_ACTION
,
qtr
(
"Remove this podcast subscription"
)
);
item
->
addAction
(
RM_ACTION
,
qtr
(
"Remove this podcast subscription"
)
);
item
->
treeItem
()
->
setData
(
0
,
PL_ITEM_ROLE
,
QVariant
::
fromValue
(
p_item
)
);
item
->
treeItem
()
->
setData
(
0
,
PL_ITEM_ROLE
,
QVariant
::
fromValue
(
p_item
)
);
item
->
treeItem
()
->
setData
(
0
,
PL_ITEM_ID_ROLE
,
QVariant
(
p_item
->
i_id
)
);
item
->
treeItem
()
->
setData
(
0
,
PL_ITEM_ID_ROLE
,
QVariant
(
p_item
->
i_id
)
);
item
->
treeItem
()
->
setData
(
0
,
IN_ITEM_ROLE
,
QVariant
::
fromValue
(
p_item
->
p_input
)
);
item
->
treeItem
()
->
setData
(
0
,
IN_ITEM_ROLE
,
QVariant
::
fromValue
(
p_item
->
p_input
)
);
CONNECT
(
item
,
action
(
PLSelItem
*
),
this
,
podcastRemove
(
PLSelItem
*
)
);
CONNECT
(
item
,
action
(
PLSelItem
*
),
this
,
podcastRemove
(
PLSelItem
*
)
);
free
(
psz_name
);
free
(
psz_name
);
return
item
;
return
item
;
}
}
void
PLSelector
::
createItems
()
void
PLSelector
::
createItems
()
...
...
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