Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Fixed crash in new shuffle mode.

  • Loading branch information...
commit d7145e11990c289daa1c2daef8e79f42f4cf1715 1 parent 40966c0
@muesli muesli authored
View
2  src/libtomahawk/playlist/PlayableProxyModelPlaylistInterface.cpp
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.