1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-20 07:52:30 +02:00

* Fixed crash in new shuffle mode.

This commit is contained in:
Christian Muehlhaeuser 2012-11-14 12:13:54 +01:00
parent 40966c07d8
commit d7145e1199

View File

@ -103,7 +103,7 @@ PlayableProxyModelPlaylistInterface::siblingItem( int itemsAway, bool readOnly )
PlayableProxyModel* proxyModel = m_proxyModel.data();
while ( m_shuffleHistory.count() >= proxyModel->rowCount() )
while ( m_shuffleHistory.count() && m_shuffleHistory.count() >= proxyModel->rowCount() )
{
m_shuffleHistory.removeFirst();
}