Fixed reg-exp for name of device controller firmare version.
This commit is contained in:
parent
64dce44fe1
commit
b2798b349e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user