[vlc-commits] Qt: don't sort playlist by cover (fix #15372)
Hannes Domani
git at videolan.org
Sat Jan 16 17:35:40 CET 2016
vlc/vlc-2.2 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Jan 15 15:49:46 2016 +0100| [02b3f65bf4bf559d024f93e95af633a4811bd58b] | committer: Jean-Baptiste Kempf
Qt: don't sort playlist by cover (fix #15372)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit c111bfead47e2e2629cb586fca00e9cfef3aad57)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=02b3f65bf4bf559d024f93e95af633a4811bd58b
---
modules/gui/qt4/components/playlist/playlist_model.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 7bd5338..c468c04 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -772,7 +772,7 @@ void PLModel::sort( QModelIndex caller, QModelIndex rootIndex, const int column,
msg_Dbg( p_intf, "Sorting by column %i, order %i", column, order );
int meta = columnToMeta( column );
- if( meta == COLUMN_END ) return;
+ if( meta == COLUMN_END || meta == COLUMN_COVER ) return;
PLItem *item = ( rootIndex.isValid() ) ? getItem( rootIndex )
: rootItem;
More information about the vlc-commits
mailing list