FileName path = ext.onlyPath();
if (!path.isDirectory())
makedir(const_cast<char*>(path.absFilename().c_str()), 0755);
- if (emb.copyTo(ext, false))
+ if (emb.copyTo(ext))
return true;
Alert::error(_("Copy file failure"),
bformat(_("Cannot copy file %1$s to %2$s.\n"
FileName path = emb.onlyPath();
if (!path.isDirectory())
makedir(const_cast<char*>(path.absFilename().c_str()), 0755);
- if (ext.copyTo(emb, false))
+ if (ext.copyTo(emb))
return true;
Alert::error(_("Copy file failure"),
bformat(_("Cannot copy file %1$s to %2$s.\n"
::zipFiles(zipfile.toFilesystemEncoding(), filenames);
// copy file back
- if (!zipfile.copyTo(filename, false)) {
+ if (!zipfile.copyTo(filename)) {
Alert::error(_("Save failure"),
bformat(_("Cannot create file %1$s.\n"
"Please check whether the directory exists and is writeable."),