From d02909fb973b778f3c39c52b10e245b5e4fb120a Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Thu, 20 Jul 2023 08:16:03 +0200 Subject: [PATCH] Account: start delayed after coinbox is removed --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 764d6b7..cc5b600 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -356,7 +356,7 @@ void ATBDeviceControllerPlugin::onCoinBoxRemoved() { qCritical() << "ATBDeviceControllerPlugin::onCoinBoxRemoved()"; - this->private_startAccount(); + QTimer::singleShot(2000, this, SLOT(private_startAccount())); } void ATBDeviceControllerPlugin::onCoinBoxInserted()