From b916125756a64cada700698c47726ac0c811fe47 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 19 Apr 2011 09:48:42 -0400 Subject: [PATCH] Whoops, actually start the sync timer! --- src/libtomahawk/infosystem/infosystemcache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/infosystem/infosystemcache.cpp b/src/libtomahawk/infosystem/infosystemcache.cpp index 7548c8676..5d401b88f 100644 --- a/src/libtomahawk/infosystem/infosystemcache.cpp +++ b/src/libtomahawk/infosystem/infosystemcache.cpp @@ -51,9 +51,11 @@ InfoSystemCache::InfoSystemCache( QObject* parent ) QMetaObject::invokeMethod( this, "loadCache", Qt::QueuedConnection, Q_ARG( Tomahawk::InfoSystem::InfoType, type ), Q_ARG( QString, cacheDir ) ); } } + m_syncTimer.setInterval( 60000 ); m_syncTimer.setSingleShot( false ); connect( &m_syncTimer, SIGNAL( timeout() ), SLOT( syncTimerFired() ) ); + m_syncTimer.start(); }