2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Allow independently change default / night themes.

This commit is contained in:
John Preston
2018-07-19 17:58:40 +03:00
parent d12bd0824d
commit cb338e330f
12 changed files with 554 additions and 278 deletions

View File

@@ -519,6 +519,9 @@ void SetAnnotationHex(const std::string &key, const QString &value) {
}
void SetAnnotationRef(const std::string &key, const QString *valuePtr) {
static QMutex mutex;
QMutexLocker lock(&mutex);
if (valuePtr) {
ProcessAnnotationRefs[key] = valuePtr;
} else {