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:
@@ -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() ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user