From d82c9bd8b659143ef1c13dfff0f0a1a6da99e11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:50:23 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- src/barcode/barcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/barcode') diff --git a/src/barcode/barcode.cpp b/src/barcode/barcode.cpp index 5eb229c..a56915a 100644 --- a/src/barcode/barcode.cpp +++ b/src/barcode/barcode.cpp @@ -69,7 +69,7 @@ void barcodeRecognitionThread::run() // //DEBUG if (!img.isNull()) { - TQImage preview = img.scale( 320, 240, TQ_ScaleMin ); + TQImage preview = img.scale( 320, 240, TQImage::ScaleMin ); emit gotImage( preview ); Barcode_EAN13 barcode = recognize( img ); if (barcode.isValid() && (old != barcode)) { -- cgit v1.2.1