1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 00:12:06 +02:00

* Fixed compiler warning.

This commit is contained in:
Christian Muehlhaeuser 2014-09-01 02:05:12 +02:00
parent ac3d0eb7f0
commit 3e53544b43

View File

@ -131,7 +131,7 @@ RecentlyPlayedModel::onPlaybackFinished( const Tomahawk::track_ptr& track, const
PlayableItem* oldestItem = itemFromIndex( index( count - 1, 0, parent ) );
if ( oldestItem->playbackLog().timestamp >= log.timestamp )
{
if ( count >= m_limit )
if ( count >= (int)m_limit )
return;
insertQuery( track->toQuery(), count, log, parent );