##// END OF EJS Templates
Remove unused parameter of Amda callback lambda
perrinel -
r528:2ff81754e6cf
parent child
Show More
@@ -96,8 +96,7 void AmdaProvider::retrieveData(QUuid token, const SqpRange &dateTime, const QVa
96
96
97 // LAMBDA
97 // LAMBDA
98 auto httpDownloadFinished
98 auto httpDownloadFinished
99 = [this, dateTime, tempFile, token](QNetworkReply *reply, QUuid dataId) noexcept {
99 = [this, dateTime, tempFile](QNetworkReply *reply, QUuid dataId) noexcept {
100 Q_UNUSED(dataId);
101
100
102 // Don't do anything if the reply was abort
101 // Don't do anything if the reply was abort
103 if (reply->error() != QNetworkReply::OperationCanceledError) {
102 if (reply->error() != QNetworkReply::OperationCanceledError) {
@@ -111,7 +110,7 void AmdaProvider::retrieveData(QUuid token, const SqpRange &dateTime, const QVa
111
110
112 // Parse results file
111 // Parse results file
113 if (auto dataSeries = AmdaResultParser::readTxt(tempFile->fileName())) {
112 if (auto dataSeries = AmdaResultParser::readTxt(tempFile->fileName())) {
114 emit dataProvided(token, dataSeries, dateTime);
113 emit dataProvided(dataId, dataSeries, dateTime);
115 }
114 }
116 else {
115 else {
117 /// @todo ALX : debug
116 /// @todo ALX : debug
General Comments 0
You need to be logged in to leave comments. Login now