summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-15 12:25:37 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-18 17:25:04 -0500
commit88ef0530001d43be8f18fac43a280169b45db852 (patch)
tree0dd2265fae5528e654d780d9bad360e7b82e9456 /src/profile.cpp
parent9eeaa88cf5fbed542c05f408982a1492831283ff (diff)
error checking in dump()
removed a bunch of "{} saved" in the logs
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index f041a241..19c0d750 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -250,9 +250,7 @@ void Profile::doWriteModlist()
}
}
- if (file.commitIfDifferent(m_LastModlistHash)) {
- log::debug("{} saved", QDir::toNativeSeparators(fileName));
- }
+ file.commitIfDifferent(m_LastModlistHash);
} catch (const std::exception &e) {
reportError(tr("failed to write mod list: %1").arg(e.what()));
return;
@@ -292,8 +290,6 @@ void Profile::createTweakedIniFile()
reportError(tr("failed to create tweaked ini: %1")
.arg(QString::fromStdWString(formatSystemMessage(e))));
}
-
- log::debug("{} saved", QDir::toNativeSeparators(tweakedIni));
}
// static