diff options
| author | Eran Mizrahi <erasmux@gmail.com> | 2017-12-27 04:18:46 +0200 |
|---|---|---|
| committer | Eran Mizrahi <erasmux@gmail.com> | 2017-12-27 04:18:46 +0200 |
| commit | 548744d746223f0f96b33587ca41d2ed6a314f33 (patch) | |
| tree | e236e2c472188d834bcf9215ed19527332e31e27 /src/main.cpp | |
| parent | 57e65abf75f62bf07880e0a2f888eaf5f14f0871 (diff) | |
Don't log username and password
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5418abc2..4c5ac75c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -447,7 +447,8 @@ int runApplication(MOApplication &application, SingleInstance &instance, qDebug("Loaded settings:");
settings.beginGroup("Settings");
for (auto k : settings.allKeys())
- qDebug(" %s=%s", k.toUtf8().data(), settings.value(k).toString().toUtf8().data());
+ if (!k.contains("username") && !k.contains("password"))
+ qDebug(" %s=%s", k.toUtf8().data(), settings.value(k).toString().toUtf8().data());
settings.endGroup();
|
