Send UPDATE_SUCCEEDED (U0001 = 100%) only for user-triggered updates,
not for automatic ones.
This commit is contained in:
parent
aaa0f1e76c
commit
5870f61395
@ -1561,6 +1561,7 @@ private:
|
|||||||
} break;
|
} break;
|
||||||
case UPDATE_STEP::UPDATE_SUCCEEDED: {
|
case UPDATE_STEP::UPDATE_SUCCEEDED: {
|
||||||
ismasClient.setProgressInPercent(_UPDATE_SUCCEEDED + _UPDATE_SUCCEEDED_CORRECTION);
|
ismasClient.setProgressInPercent(_UPDATE_SUCCEEDED + _UPDATE_SUCCEEDED_CORRECTION);
|
||||||
|
if (instance->m_automaticUpdate == false) {
|
||||||
QString const &ismasUpdateNews =
|
QString const &ismasUpdateNews =
|
||||||
QString("#M=APISM#C=CMD_EVENT#J=") +
|
QString("#M=APISM#C=CMD_EVENT#J=") +
|
||||||
ismasClient.updateNewsToIsmas(
|
ismasClient.updateNewsToIsmas(
|
||||||
@ -1572,6 +1573,7 @@ private:
|
|||||||
instance->m_versionInfo.size() >= 1 ? instance->m_versionInfo.at(0).toUtf8().constData() : "N/A");
|
instance->m_versionInfo.size() >= 1 ? instance->m_versionInfo.at(0).toUtf8().constData() : "N/A");
|
||||||
ismasClient.sendRequestReceiveResponse(
|
ismasClient.sendRequestReceiveResponse(
|
||||||
IsmasClient::APISM::DB_PORT, ismasUpdateNews);
|
IsmasClient::APISM::DB_PORT, ismasUpdateNews);
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
case UPDATE_STEP::UPDATE_ACTIVATED: {
|
case UPDATE_STEP::UPDATE_ACTIVATED: {
|
||||||
ismasClient.setProgressInPercent(_UPDATE_ACTIVATED + _UPDATE_ACTIVATED_CORRECTION);
|
ismasClient.setProgressInPercent(_UPDATE_ACTIVATED + _UPDATE_ACTIVATED_CORRECTION);
|
||||||
|
Loading…
Reference in New Issue
Block a user