mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-24 09:49:42 +01:00
Show UI if fetching from last.fm failed
This commit is contained in:
parent
a463c02273
commit
eecceb134a
@ -315,9 +315,16 @@ LastFmConfig::onLovedFinished( QNetworkReply* reply )
|
||||
syncLovedTracks( thisPage + 1 );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_ui->syncLovedTracks->setText( "Failed" );
|
||||
m_ui->progressBar->hide();
|
||||
}
|
||||
}
|
||||
catch( lastfm::ws::ParseError e )
|
||||
{
|
||||
m_ui->syncLovedTracks->setText( "Failed" );
|
||||
m_ui->progressBar->hide();
|
||||
tDebug() << "XmlQuery error:" << e.message();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user