diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-15 12:25:37 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-18 17:25:04 -0500 |
| commit | 88ef0530001d43be8f18fac43a280169b45db852 (patch) | |
| tree | 0dd2265fae5528e654d780d9bad360e7b82e9456 /src/profile.cpp | |
| parent | 9eeaa88cf5fbed542c05f408982a1492831283ff (diff) | |
error checking in dump()
removed a bunch of "{} saved" in the logs
Diffstat (limited to 'src/profile.cpp')
| -rw-r--r-- | src/profile.cpp | 6 |
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 |
