Commit 95b8aafc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor fix

parent a84ed776
......@@ -379,7 +379,7 @@ QStringList AbstractImportExportJob::restoreResourceFile(const QString &resource
dir.mkdir(defaultPath);
const QString copyToDirName(mTempDirName + QLatin1Char('/') + defaultPath);
for (int i = 0; i < mListResourceFile.size(); ++i) {
for (int i = 0, total = mListResourceFile.size(); i < total; ++i) {
resourceFiles value = mListResourceFile.at(i);
QMap<QString, QVariant> settings;
if (value.akonadiConfigFile.contains(resourceBaseName + QLatin1Char('_'))) {
......
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