diff --git a/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp b/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp index 085ae9b20..e2076b015 100644 --- a/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp +++ b/src/libtomahawk/accounts/lastfm/LastFmConfig.cpp @@ -184,7 +184,7 @@ LastFmConfig::onHistoryLoaded() else finished = true; } - catch( lastfm::ws::ParseError e ) + catch( lastfm::ws::ParseError& e ) { tDebug() << "XmlQuery error:" << e.message(); finished = true; @@ -326,7 +326,7 @@ LastFmConfig::onLovedFinished( QNetworkReply* reply ) emit sizeHintChanged(); } } - catch( lastfm::ws::ParseError e ) + catch( lastfm::ws::ParseError& e ) { m_ui->syncLovedTracks->setText( "Failed" ); m_ui->progressBar->hide();