1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

Pause timer should be single shot.

This commit is contained in:
Alejandro Wainzinger
2011-06-15 00:33:26 -07:00
parent a306bdf53f
commit 1c59840dd1

View File

@@ -69,6 +69,7 @@ AdiumPlugin::AdiumPlugin()
SLOT( settingsChanged() ), Qt::QueuedConnection ); SLOT( settingsChanged() ), Qt::QueuedConnection );
m_pauseTimer = new QTimer( this ); m_pauseTimer = new QTimer( this );
m_pauseTimer->setSingleShot( true );
connect( m_pauseTimer, SIGNAL( timeout() ), connect( m_pauseTimer, SIGNAL( timeout() ),
this, SLOT( clearStatus() ) ); this, SLOT( clearStatus() ) );
} }