Commit b36b2bb1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add qCWarning

parent e28deb78
Pipeline #95010 passed with stage
in 9 minutes and 34 seconds
......@@ -326,7 +326,9 @@ QStringList AbstractImportExportJob::restoreResourceFile(const QString &resource
QDir dir(mTempDirName);
dir.mkdir(defaultPath);
const QString copyToDirName(mTempDirName + QLatin1Char('/') + defaultPath);
QDir().mkpath(copyToDirName);
if (!QDir().mkpath(copyToDirName)) {
qCWarning(PIMDATAEXPORTERCORE_LOG) << " impossible to create :" << copyToDirName;
}
for (int i = 0, total = mListResourceFile.size(); i < total; ++i) {
ResourceFiles value = mListResourceFile.at(i);
......
Supports Markdown
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