1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-17 22:34:52 +01:00

Temporarily enable lyrics

This commit is contained in:
Leo Franchi 2012-11-17 10:03:34 -05:00
parent 986730a51d
commit f5936139d6
2 changed files with 4 additions and 1 deletions
src/libtomahawk

@ -483,6 +483,7 @@ AtticaManager::syncServerData()
{
// look for any newer. m_resolvers has list from server, and m_resolverStates will contain any locally installed ones
// also update ratings
tLog() << "Syncing server data!";
foreach ( const QString& id, m_resolverStates.keys() )
{
Resolver r = m_resolverStates[ id ];
@ -506,6 +507,7 @@ AtticaManager::syncServerData()
{
if ( TomahawkUtils::newerVersion( r.version, upstream.version() ) )
{
tLog() << "Doing upgrade of: " << id;
m_resolverStates[ id ].state = NeedsUpgrade;
QMetaObject::invokeMethod( this, "upgradeResolver", Qt::QueuedConnection, Q_ARG( Attica::Content, upstream ) );
}
@ -557,6 +559,7 @@ void AtticaManager::doInstallResolver( const Content& resolver, bool autoCreate,
void
AtticaManager::upgradeResolver( const Content& resolver )
{
tLog() << "UPGRADING:" << resolver.id() << m_resolverStates[ resolver.id() ].state;
Q_ASSERT( m_resolverStates.contains( resolver.id() ) );
Q_ASSERT( m_resolverStates[ resolver.id() ].state == NeedsUpgrade );

@ -195,7 +195,7 @@ TrackInfoWidget::load( const query_ptr& query )
m_artist->loadStats();
m_query->loadStats();
// m_query->lyrics();
m_query->lyrics();
onCoverUpdated();
ui->trackLabel->setText( query->track() );