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:
@@ -63,7 +63,7 @@ HistoryItem::tempPageActivated( Tomahawk::ViewPage* v )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Only keep a certain amount of temporary pages at once
|
// 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();
|
TemporaryPageItem* item = m_tempItems.takeFirst();
|
||||||
QTimer::singleShot( 0, item, SLOT( removeFromList() ) );
|
QTimer::singleShot( 0, item, SLOT( removeFromList() ) );
|
||||||
|
Reference in New Issue
Block a user