1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-08 07:07:05 +02:00

Catch exceptions by reference

This commit is contained in:
Uwe L. Korn
2014-11-02 09:37:26 +01:00
parent 21df2a2775
commit cf32037a8d

View File

@@ -182,7 +182,7 @@ LastFmConfig::onHistoryLoaded()
else
finished = true;
}
catch( lastfm::ws::ParseError e )
catch( lastfm::ws::ParseError& e )
{
tDebug() << "XmlQuery error:" << e.message();
finished = true;
@@ -324,7 +324,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();