Remove multiple calls to QuazipFile::close() on the same file

preferencesAboutTextFull
Craig Watson 9 years ago
parent ecb88480f0
commit 53aa4f4928
  1. 2
      src/frameworks/UBFileSystemUtils.cpp

@ -711,11 +711,9 @@ bool UBFileSystemUtils::compressDirInZip(const QDir& pDir, const QString& pDestP
qWarning() << "Compression of file" << inFile.fileName() << " failed. Cause: outFile.close(): " << pOutZipFile->getZipError();
inFile.close();
pOutZipFile->close();
return false;
}
pOutZipFile->close();
inFile.close();
}
}

Loading…
Cancel
Save