doUpdate(): use parameter 'usbStickDetected' to use the correct JSON

filenames.
This commit is contained in:
2024-05-14 12:38:31 +02:00
parent c0d014644c
commit 1964b08349
2 changed files with 30 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ public:
virtual ~Update() override;
bool doUpdate(QStringList const &jsonFilesToDownload);
bool doUpdate(QStringList const &jsonFilesToDownload, bool usbStickDetected = false);
bool updatePrinterTemplate(int templateIdx, QString fname) const;
bool updateConfig(QString jsFileToSendToDC);