Start background task "ACCOUNT" only if CashBox is removed
This commit is contained in:
@@ -362,7 +362,6 @@ void ATBDeviceControllerPlugin::onVaultDoorOpened()
|
||||
// this is started here because we want to keep ptu awake in order to get
|
||||
// coin box removed / inserted etc.
|
||||
// BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS!
|
||||
this->dbus->startBackgroundTask("ACCOUNT");
|
||||
|
||||
// do not: emit this->requestModeSERVICE();
|
||||
}
|
||||
@@ -371,6 +370,9 @@ void ATBDeviceControllerPlugin::onCoinBoxRemoved()
|
||||
{
|
||||
qCritical() << "ATBDeviceControllerPlugin::onCoinBoxRemoved()";
|
||||
|
||||
// BackgroundTask("ACCOUNT") is finished, if account message is sent to ISMAS!
|
||||
this->dbus->startBackgroundTask("ACCOUNT");
|
||||
|
||||
QTimer::singleShot(4000, this, SLOT(private_startAccount()));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user