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
7af51d10
Commit
7af51d10
authored
Mar 04, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the Rating column from the inteface because with don't save any information about Rating.
parent
3cd17e7d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
16 deletions
+1
-16
modules/gui/qt4/components/playlist/playlist_item.cpp
modules/gui/qt4/components/playlist/playlist_item.cpp
+0
-6
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+1
-5
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+0
-1
src/playlist/sort.c
src/playlist/sort.c
+0
-4
No files found.
modules/gui/qt4/components/playlist/playlist_item.cpp
View file @
7af51d10
...
...
@@ -136,9 +136,6 @@ void PLItem::updateColumnHeaders()
case
VLC_META_ENGINE_SEQ_NUM
:
item_col_strings
.
append
(
qtr
(
VLC_META_SEQ_NUM
)
);
break
;
case
VLC_META_ENGINE_RATING
:
item_col_strings
.
append
(
qtr
(
VLC_META_RATING
)
);
break
;
case
VLC_META_ENGINE_TRACKID
:
item_col_strings
.
append
(
qtr
(
VLC_META_TRACKID
)
);
break
;
...
...
@@ -258,9 +255,6 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
case
VLC_META_ENGINE_SEQ_NUM
:
ADD_META
(
p_item
,
TrackNum
);
break
;
case
VLC_META_ENGINE_RATING
:
ADD_META
(
p_item
,
Rating
);
break
;
case
VLC_META_ENGINE_TRACKID
:
item_col_strings
.
append
(
QString
::
number
(
p_item
->
i_id
)
);
break
;
...
...
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
7af51d10
...
...
@@ -735,7 +735,6 @@ void PLModel::sort( int column, Qt::SortOrder order )
CHECK_COLUMN
(
COLLECTION
);
CHECK_COLUMN
(
SEQ_NUM
);
CHECK_COLUMN
(
DESCRIPTION
);
CHECK_COLUMN
(
RATING
);
CHECK_COLUMN
(
TRACKID
);
#undef CHECK_COLUMN;
...
...
@@ -756,7 +755,6 @@ next:
case
VLC_META_ENGINE_COLLECTION
:
i_mode
=
SORT_ALBUM
;
break
;
case
VLC_META_ENGINE_SEQ_NUM
:
i_mode
=
SORT_TRACK_NUMBER
;
break
;
case
VLC_META_ENGINE_DESCRIPTION
:
i_mode
=
SORT_DESCRIPTION
;
break
;
case
VLC_META_ENGINE_RATING
:
i_mode
=
SORT_RATING
;
break
;
case
VLC_META_ENGINE_TRACKID
:
i_mode
=
SORT_ID
;
break
;
default:
i_mode
=
SORT_TITLE_NODES_FIRST
;
break
;
}
...
...
@@ -849,10 +847,8 @@ void PLModel::viewchanged( int meta )
index
=
6
;
break
;
case
VLC_META_ENGINE_DESCRIPTION
:
index
=
7
;
break
;
case
VLC_META_ENGINE_RATING
:
index
=
8
;
break
;
case
VLC_META_ENGINE_TRACKID
:
index
=
9
;
break
;
index
=
8
;
break
;
default:
break
;
}
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
7af51d10
...
...
@@ -281,7 +281,6 @@ void StandardPLPanel::popupSelectColumn( QPoint pos )
ADD_META_ACTION
(
COLLECTION
);
ADD_META_ACTION
(
SEQ_NUM
);
ADD_META_ACTION
(
DESCRIPTION
);
ADD_META_ACTION
(
RATING
);
ADD_META_ACTION
(
TRACKID
);
#undef ADD_META_ACTION
...
...
src/playlist/sort.c
View file @
7af51d10
...
...
@@ -197,10 +197,6 @@ static int playlist_ItemArraySort( playlist_t *p_playlist, int i_items,
{
DO_META_SORT
(
Description
);
}
else
if
(
i_mode
==
SORT_RATING
)
{
DO_META_SORT
(
Rating
);
}
else
if
(
i_mode
==
SORT_ID
)
{
i_test
=
pp_items
[
i
]
->
i_id
-
pp_items
[
i_small
]
->
i_id
;
...
...
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