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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user