Commit c111bfea authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Qt: don't sort playlist by cover (fix #15372)

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7e6fe753
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment