| 31 | } |
| 32 | |
| 33 | void MigrationEligibilityStep::onRequestDone( |
| 34 | QNetworkReply::NetworkError error, |
| 35 | QByteArray data, |
| 36 | QList<QNetworkReply::RawHeaderPair> headers |
| 37 | ) { |
| 38 | auto requestor = qobject_cast<AuthRequest *>(QObject::sender()); |
| 39 | requestor->deleteLater(); |
| 40 | |
| 41 | if (error == QNetworkReply::NoError) { |
| 42 | Parsers::parseRolloutResponse(data, m_data->canMigrateToMSA); |
| 43 | } |
| 44 | emit finished(AccountTaskState::STATE_WORKING, tr("Got migration flags")); |
| 45 | } |
nothing calls this directly
no test coverage detected