mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +02:00
Try connecting on startup after a short delay
This commit is contained in:
@@ -132,6 +132,7 @@ TwitterPlugin::connectAuthVerifyReply( const QTweetUser &user )
|
|||||||
connect( m_directMessageDestroy.data(), SIGNAL( parsedDirectMessage(const QTweetDMStatus &) ), SLOT( directMessageDestroyed(const QTweetDMStatus &) ) );
|
connect( m_directMessageDestroy.data(), SIGNAL( parsedDirectMessage(const QTweetDMStatus &) ), SLOT( directMessageDestroyed(const QTweetDMStatus &) ) );
|
||||||
m_isOnline = true;
|
m_isOnline = true;
|
||||||
QMetaObject::invokeMethod( this, "checkTimerFired", Qt::AutoConnection );
|
QMetaObject::invokeMethod( this, "checkTimerFired", Qt::AutoConnection );
|
||||||
|
QTimer::singleShot( 20000, this, SLOT( connectTimerFired() ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user