mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 03:37:47 +00:00
Delete KZip in CharacterSync
This commit is contained in:
parent
b66baddbdf
commit
b5b9cdfdc0
1 changed files with 3 additions and 1 deletions
|
@ -138,6 +138,7 @@ QCoro::Task<void> CharacterSync::uploadCharacterData(const QDir &dir, const QStr
|
|||
|
||||
zip->writeFile(gearsetFilename, data);
|
||||
zip->close();
|
||||
delete zip;
|
||||
|
||||
QMap<QString, QString> fileHashes;
|
||||
fileHashes[gearsetFilename] = QString::fromUtf8(QCryptographicHash::hash(data, QCryptographicHash::Algorithm::Sha256).toHex());
|
||||
|
@ -167,8 +168,9 @@ QCoro::Task<void> CharacterSync::downloadCharacterData(const QDir &dir, const QS
|
|||
qCDebug(ASTRA_LOG) << "Extracted character data!";
|
||||
|
||||
zip->close();
|
||||
delete zip;
|
||||
|
||||
co_return;
|
||||
}
|
||||
|
||||
#include "moc_charactersync.cpp"
|
||||
#include "moc_charactersync.cpp"
|
||||
|
|
Loading…
Add table
Reference in a new issue