diff options
Diffstat (limited to 'daemon/manager.cpp')
| -rw-r--r-- | daemon/manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/manager.cpp b/daemon/manager.cpp index 345fb1d..db183bd 100644 --- a/daemon/manager.cpp +++ b/daemon/manager.cpp @@ -376,14 +376,14 @@ bool Manager::uploadFirmware(bool recovery, const QString &file) return true; } - upload->uploadFirmwareResources(resourceFile.data(), + upload->uploadFirmwareResources(resourceFile.data(), bundle.crcFile(Bundle::RESOURCES), [this, recovery, bundle, resourceFile]() { qCDebug(l) << "firmware resource upload succesful"; resourceFile->close(); // Proceed to upload the resource file QSharedPointer<QIODevice> binaryFile(bundle.openFile(Bundle::BINARY)); if (binaryFile) { - upload->uploadFirmwareBinary(recovery, binaryFile.data(), + upload->uploadFirmwareBinary(recovery, binaryFile.data(), bundle.crcFile(Bundle::BINARY), [this, binaryFile]() { binaryFile->close(); qCDebug(l) << "firmware binary upload succesful"; |
