1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 00:12:06 +02:00

Fixed collection sorting.

This commit is contained in:
Christian Muehlhaeuser 2015-05-10 03:03:23 +02:00
parent 36caa8751c
commit 15445be8df

View File

@ -585,7 +585,8 @@ PlayableProxyModel::lessThan( const QModelIndex& left, const QModelIndex& right
if ( p1->query() && p2->query() )
{
return lessThan( left.column(), p1->query(), p2->query() );
PlayableModel::Columns col = m_headerStyle[ m_style ].at( left.column() );
return lessThan( col, p1->query(), p2->query() );
}
if ( p1->album() && p2->album() )
{