Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ad87b924
Commit
ad87b924
authored
Sep 21, 2008
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use items showflags, parentItem can be NULL
parent
6f00c8d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/components/playlist/playlist_item.cpp
modules/gui/qt4/components/playlist/playlist_item.cpp
+3
-3
No files found.
modules/gui/qt4/components/playlist/playlist_item.cpp
View file @
ad87b924
...
@@ -185,10 +185,10 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
...
@@ -185,10 +185,10 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
return
;
return
;
}
}
assert
(
parentItem
->
i_showflags
<
COLUMN_END
);
assert
(
i_showflags
<
COLUMN_END
);
/* Meta: ID */
/* Meta: ID */
if
(
parentItem
->
i_showflags
&
COLUMN_NUMBER
)
if
(
i_showflags
&
COLUMN_NUMBER
)
{
{
QModelIndex
idx
=
model
->
index
(
this
,
0
);
QModelIndex
idx
=
model
->
index
(
this
,
0
);
item_col_strings
.
append
(
QString
::
number
(
idx
.
row
()
+
1
)
);
item_col_strings
.
append
(
QString
::
number
(
idx
.
row
()
+
1
)
);
...
@@ -196,7 +196,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
...
@@ -196,7 +196,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
/* Other meta informations */
/* Other meta informations */
for
(
uint32_t
i_index
=
2
;
i_index
<
COLUMN_END
;
i_index
<<=
1
)
for
(
uint32_t
i_index
=
2
;
i_index
<
COLUMN_END
;
i_index
<<=
1
)
{
{
if
(
parentItem
->
i_showflags
&
i_index
)
if
(
i_showflags
&
i_index
)
{
{
char
*
psz
=
psz_column_meta
(
p_item
->
p_input
,
i_index
);
char
*
psz
=
psz_column_meta
(
p_item
->
p_input
,
i_index
);
item_col_strings
.
append
(
qfu
(
psz
)
);
item_col_strings
.
append
(
qfu
(
psz
)
);
...
...
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