1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-03 20:57:52 +02:00

Refetch all on migrate

This commit is contained in:
Hugo Lindström
2012-11-29 01:55:17 +01:00
parent 2e48c41718
commit b3de53eb9d
2 changed files with 7 additions and 2 deletions

View File

@@ -86,8 +86,8 @@ ChartsPlugin::init()
} }
else else
{ {
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Migrating charts"; tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Migrating";
fetchChartSourcesList(true); m_refetchSource << "ALL";
} }
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "total sources" << m_chartResources.size() << m_chartResources; tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "total sources" << m_chartResources.size() << m_chartResources;

View File

@@ -98,6 +98,11 @@ NewReleasesPlugin::init()
m_nrSources << sourceHash; m_nrSources << sourceHash;
} }
} }
else
{
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Migrating";
m_refetchSource << "ALL";
}
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "total sources" << m_nrSources.size() << m_nrSources; tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "total sources" << m_nrSources.size() << m_nrSources;