mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 00:24:12 +02:00
Fix twitter saved offer key issue, maybe
This commit is contained in:
@@ -72,16 +72,14 @@ TwitterPlugin::TwitterPlugin( const QString& pluginId )
|
|||||||
|
|
||||||
if ( !Database::instance() || Database::instance()->dbid() != twitterSavedDbid() )
|
if ( !Database::instance() || Database::instance()->dbid() != twitterSavedDbid() )
|
||||||
{
|
{
|
||||||
if ( !twitterSavedDbid().isEmpty() ) //remove eventually (post 0.2), here for migration purposes
|
setTwitterCachedDirectMessagesSinceId( 0 );
|
||||||
{
|
setTwitterCachedFriendsSinceId( 0 );
|
||||||
setTwitterCachedDirectMessagesSinceId( 0 );
|
setTwitterCachedMentionsSinceId( 0 );
|
||||||
setTwitterCachedFriendsSinceId( 0 );
|
setTwitterCachedPeers( QHash< QString, QVariant >() );
|
||||||
setTwitterCachedMentionsSinceId( 0 );
|
|
||||||
setTwitterCachedPeers( QHash< QString, QVariant >() );
|
|
||||||
}
|
|
||||||
setTwitterSavedDbid( Database::instance()->dbid() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setTwitterSavedDbid( Database::instance()->dbid() );
|
||||||
|
|
||||||
m_checkTimer.setInterval( 150000 );
|
m_checkTimer.setInterval( 150000 );
|
||||||
m_checkTimer.setSingleShot( false );
|
m_checkTimer.setSingleShot( false );
|
||||||
connect( &m_checkTimer, SIGNAL( timeout() ), SLOT( checkTimerFired() ) );
|
connect( &m_checkTimer, SIGNAL( timeout() ), SLOT( checkTimerFired() ) );
|
||||||
|
Reference in New Issue
Block a user