Commit 1d75ad9e authored by Laurent Montel's avatar Laurent Montel 😁

Allow to override

parent 4620d353
......@@ -307,7 +307,7 @@ public:
QByteArray data = vCard.toUtf8();
tmpFile.write(data);
tmpFile.flush();
auto job = KIO::file_copy(QUrl::fromLocalFile(tmpFile.fileName()), saveAsUrl);
auto job = KIO::file_copy(QUrl::fromLocalFile(tmpFile.fileName()), saveAsUrl, -1, KIO::Overwrite);
return job->exec();
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment