mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Fixed compiler warning.
This commit is contained in:
@@ -131,7 +131,7 @@ RecentlyPlayedModel::onPlaybackFinished( const Tomahawk::track_ptr& track, const
|
|||||||
PlayableItem* oldestItem = itemFromIndex( index( count - 1, 0, parent ) );
|
PlayableItem* oldestItem = itemFromIndex( index( count - 1, 0, parent ) );
|
||||||
if ( oldestItem->playbackLog().timestamp >= log.timestamp )
|
if ( oldestItem->playbackLog().timestamp >= log.timestamp )
|
||||||
{
|
{
|
||||||
if ( count >= m_limit )
|
if ( count >= (int)m_limit )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
insertQuery( track->toQuery(), count, log, parent );
|
insertQuery( track->toQuery(), count, log, parent );
|
||||||
|
Reference in New Issue
Block a user