mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Fixed crash in new shuffle mode.
This commit is contained in:
@@ -103,7 +103,7 @@ PlayableProxyModelPlaylistInterface::siblingItem( int itemsAway, bool readOnly )
|
|||||||
|
|
||||||
PlayableProxyModel* proxyModel = m_proxyModel.data();
|
PlayableProxyModel* proxyModel = m_proxyModel.data();
|
||||||
|
|
||||||
while ( m_shuffleHistory.count() >= proxyModel->rowCount() )
|
while ( m_shuffleHistory.count() && m_shuffleHistory.count() >= proxyModel->rowCount() )
|
||||||
{
|
{
|
||||||
m_shuffleHistory.removeFirst();
|
m_shuffleHistory.removeFirst();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user