summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-01 08:42:58 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-01 08:42:58 -0400
commitdfe8093c1ad16e1611c12e88d52d1ac38371d3f6 (patch)
tree3952f970ef9a4315ab143553c94f16a220b72faf /src/settings.cpp
parent5a74b02442302fb484b1db68cf0ce1736af4911c (diff)
added --crashdump to generate dumps of a running MO process
added dump_running_process.bat to start another instance of MO with that flag
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 59d3369a..5cb2524f 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -222,7 +222,7 @@ QString Settings::deObfuscate(const QString key)
if (e != ERROR_NOT_FOUND) {
qCritical().nospace()
<< "Retrieving encrypted data failed: "
- << formatSystemMessage(e);
+ << formatSystemMessageQ(e);
}
}
delete[] keyData;
@@ -367,7 +367,11 @@ bool Settings::setNexusApiKey(const QString& apiKey)
{
if (!obfuscate("APIKEY", apiKey)) {
const auto e = GetLastError();
- qCritical().nospace() << "Storing API key failed: " << formatSystemMessage(e);
+
+ qCritical().nospace()
+ << "Storing API key failed: "
+ << formatSystemMessageQ(e);
+
return false;
}
@@ -485,7 +489,7 @@ void Settings::setSteamLogin(QString username, QString password)
const auto e = GetLastError();
qCritical().nospace()
<< "Storing or deleting password failed: "
- << formatSystemMessage(e);
+ << formatSystemMessageQ(e);
}
}