2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Crash reporting fixed, radial progress fixed. 0.9.38 dev version.

This commit is contained in:
John Preston
2016-04-01 00:36:46 +04:00
parent 9cb1511b63
commit f96b7da7ce
7 changed files with 22 additions and 23 deletions

View File

@@ -1080,18 +1080,18 @@ namespace internal {
}
void setCrashAnnotation(const std::string &key, const QString &value) {
if (value.trimmed().isEmpty()) {
internal::ProcessAnnotations.erase(key);
} else {
if (!value.trimmed().isEmpty()) {
internal::ProcessAnnotations[key] = value.toUtf8().constData();
} else {
internal::ProcessAnnotations.erase(key);
}
}
void setCrashAnnotationRef(const std::string &key, const QString *valuePtr) {
if (valuePtr) {
internal::ProcessAnnotationRefs.erase(key);
} else {
internal::ProcessAnnotationRefs[key] = valuePtr;
} else {
internal::ProcessAnnotationRefs.erase(key);
}
}