mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Fixed compiler warning.
This commit is contained in:
parent
3efaba4d71
commit
42364921a3
@ -63,7 +63,7 @@ HistoryItem::tempPageActivated( Tomahawk::ViewPage* v )
|
||||
}
|
||||
|
||||
// Only keep a certain amount of temporary pages at once
|
||||
while ( MAX_HISTORY_ITEMS > 0 && m_tempItems.size() > MAX_HISTORY_ITEMS - 1 )
|
||||
while ( MAX_HISTORY_ITEMS > 0 && m_tempItems.size() > (int)MAX_HISTORY_ITEMS - 1 )
|
||||
{
|
||||
TemporaryPageItem* item = m_tempItems.takeFirst();
|
||||
QTimer::singleShot( 0, item, SLOT( removeFromList() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user