1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 02:09:48 +01:00

Fix oversight in debounce: Singleshot timer

This commit is contained in:
Leo Franchi 2012-07-31 22:21:31 -04:00
parent 18c50a3f02
commit 03121f95ff

View File

@ -41,8 +41,8 @@ LovedTracksModel::LovedTracksModel( QObject* parent )
, m_smoothingTimer( new QTimer )
, m_limit( LOVED_TRACK_ITEMS )
{
m_smoothingTimer->setInterval( 150 );
m_smoothingTimer->setSingleShot( false );
m_smoothingTimer->setInterval( 300 );
m_smoothingTimer->setSingleShot( true );
connect( m_smoothingTimer, SIGNAL( timeout() ), this, SLOT( loadTracks() ) );
}