From b2798b349ece00ac387febf49509de21b111a502 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Sat, 9 Sep 2023 14:41:53 +0200 Subject: [PATCH] Fixed reg-exp for name of device controller firmare version. --- worker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.cpp b/worker.cpp index 3f8582f..c787c05 100644 --- a/worker.cpp +++ b/worker.cpp @@ -850,7 +850,7 @@ bool Worker::updateFiles(quint8 percent) { if (fName.contains("print", Qt::CaseInsensitive)) { filesToDownload << fName; // download printer-config-files } else { - static const QRegularExpression version("^.*dc2c[.][0-9]{0,1}[0-9][.][0-9][0-9][.]bin.*$"); + static const QRegularExpression version("^.*dc2c[.][0-9]{1,2}[.][0-9]{1,2}[.]bin.*$"); if (fName.contains(version)) { filesToDownload << fName; // download device controller }