use shared pointer
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com> use shared pointer
This commit is contained in:
parent
cadb7142f0
commit
79222a56e3
2 changed files with 8 additions and 18 deletions
|
@ -451,7 +451,7 @@ void ExportToZipTask::executeTask()
|
|||
absolute = file.canonicalFilePath();
|
||||
}
|
||||
|
||||
if (!JlCompress::compressFile(m_output, absolute, m_destinationPrefix + relative)) {
|
||||
if (!JlCompress::compressFile(m_output.get(), absolute, m_destinationPrefix + relative)) {
|
||||
emitFailed(tr("Could not read and compress %1").arg(relative));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue