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:
parent
36caa8751c
commit
15445be8df
@ -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() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user