changed the extension of the file sent on planete sankore. Now ubw is used

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 0fc140a31a
commit 870e4c55a2
  1. 2
      src/adaptors/publishing/UBDocumentPublisher.cpp

@ -140,7 +140,7 @@ void UBDocumentPublisher::buildUbwFile()
UBFileSystemUtils::deleteDir(mPublishingDocument->persistencePath() + "/" + UBPersistenceManager::videoDirectory); UBFileSystemUtils::deleteDir(mPublishingDocument->persistencePath() + "/" + UBPersistenceManager::videoDirectory);
UBFileSystemUtils::deleteDir(mPublishingDocument->persistencePath() + "/" + UBPersistenceManager::audioDirectory); UBFileSystemUtils::deleteDir(mPublishingDocument->persistencePath() + "/" + UBPersistenceManager::audioDirectory);
mTmpZipFile = UBFileSystemUtils::defaultTempDirPath() + "/" + UBStringUtils::toCanonicalUuid(QUuid::createUuid()) + ".zip"; mTmpZipFile = UBFileSystemUtils::defaultTempDirPath() + "/" + UBStringUtils::toCanonicalUuid(QUuid::createUuid()) + ".ubw~";
QuaZip zip(mTmpZipFile); QuaZip zip(mTmpZipFile);
zip.setFileNameCodec("UTF-8"); zip.setFileNameCodec("UTF-8");

Loading…
Cancel
Save