From d16234f8e90db79198393a0536b101b4c4e7b1e5 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Thu, 10 Aug 2023 15:01:39 +0200 Subject: [PATCH] Print templates: check printer status --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 1f72e23..2c8f9bb 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -763,9 +763,7 @@ void ATBDeviceControllerPlugin::onPrinterPrintNextTemplate() if (templateList.isEmpty()) { // all templates are printed - - // FAKE SIGNAL: - QTimer::singleShot(2000, this, SLOT(onPrintFinishedOK())); + QTimer::singleShot(2000, this, SLOT(onPrinterWaitForPrintingTicket())); } else { // print next template