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:
parent
40966c07d8
commit
d7145e1199
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user