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:
parent
18c50a3f02
commit
03121f95ff
@ -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() ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user