summaryrefslogtreecommitdiffstats
path: root/src/barcode
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:50:23 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:50:23 +0900
commitd82c9bd8b659143ef1c13dfff0f0a1a6da99e11f (patch)
tree6e56f2ff567a5df1e23653c27dc39f2e7994c432 /src/barcode
parent074a3e6db609cc04e0a5830b0c1884447d0e5bbb (diff)
downloadtellico-d82c9bd8b659143ef1c13dfff0f0a1a6da99e11f.tar.gz
tellico-d82c9bd8b659143ef1c13dfff0f0a1a6da99e11f.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/barcode')
-rw-r--r--src/barcode/barcode.cpp2
1 files changed, 1 insertions, 1 deletions
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)) {