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 }