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