[vlc-devel] [PATCH 2/3] Qt: don't sort playlist by cover (fix #15372)
Hannes Domani
ssbssa at yahoo.de
Fri Jan 15 15:49:46 CET 2016
---
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 3734efb..aebf348 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -785,7 +785,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;
--
2.7.0
More information about the vlc-devel
mailing list