Add accession number and fix a problem with create recon record automaticly.
This commit is contained in:
@@ -85,10 +85,12 @@ void ReconManager::queryReconStatus(const QStringList& aScanIDs)
|
||||
auto response = mReconClient->QueryScan(scanID.toStdString(), state);
|
||||
if(response.bad())
|
||||
{
|
||||
qDebug()<< "Recon query failed by " << response.error().data();
|
||||
break;
|
||||
QString msg = QString("Recon query failed by ") + response.error().data();
|
||||
qDebug()<< msg;
|
||||
emit queryReconStateResponsed(false, QVariant::fromValue(msg));
|
||||
continue;
|
||||
}
|
||||
result.insert(scanID, state);
|
||||
}
|
||||
emit queryReconStateResponsed(result);
|
||||
emit queryReconStateResponsed(true, QVariant::fromValue(result));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user