2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update submodules to the latest spellcheck.

This commit is contained in:
John Preston
2019-11-02 20:06:47 +03:00
parent 272f2d937b
commit d63e50944a
61 changed files with 198 additions and 409 deletions

View File

@@ -0,0 +1,32 @@
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "core/base_integration.h"
#include "core/sandbox.h"
#include "core/crash_reports.h"
namespace Core {
BaseIntegration::BaseIntegration(int argc, char *argv[])
: Integration(argc, argv) {
}
void BaseIntegration::enterFromEventLoop(FnMut<void()> &&method) {
Core::Sandbox::Instance().customEnterFromEventLoop(
std::move(method));
}
void BaseIntegration::logAssertionViolation(const QString &info) {
#ifdef LOG
LOG(("Assertion Failed! ") + info);
#endif // LOG
CrashReports::SetAnnotation("Assertion", info);
}
} // namespace Core