1
0
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:
Christian Muehlhaeuser
2012-12-20 16:36:45 +01:00
parent 3efaba4d71
commit 42364921a3

View File

@@ -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() ) );