##// 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 97 // LAMBDA
98 98 auto httpDownloadFinished
99 = [this, dateTime, tempFile, token](QNetworkReply *reply, QUuid dataId) noexcept {
100 Q_UNUSED(dataId);
99 = [this, dateTime, tempFile](QNetworkReply *reply, QUuid dataId) noexcept {
101 100
102 101 // Don't do anything if the reply was abort
103 102 if (reply->error() != QNetworkReply::OperationCanceledError) {
@@ -111,7 +110,7 void AmdaProvider::retrieveData(QUuid token, const SqpRange &dateTime, const QVa
111 110
112 111 // Parse results file
113 112 if (auto dataSeries = AmdaResultParser::readTxt(tempFile->fileName())) {
114 emit dataProvided(token, dataSeries, dateTime);
113 emit dataProvided(dataId, dataSeries, dateTime);
115 114 }
116 115 else {
117 116 /// @todo ALX : debug
General Comments 0
You need to be logged in to leave comments. Login now