2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Fix whitespace and indentation errors.

See #6672, thanks Sea-n.
This commit is contained in:
John Preston
2020-01-02 14:25:52 +03:00
parent 74733275d8
commit 4eeac7dc18
25 changed files with 148 additions and 146 deletions

View File

@@ -382,7 +382,8 @@ void StartCatching(not_null<Core::Launcher*> launcher) {
crashpad::CrashpadClient crashpad_client;
std::string handler = (cExeDir() + cExeName() + qsl("/Contents/Helpers/crashpad_handler")).toUtf8().constData();
std::string database = QFile::encodeName(dumpspath).constData();
if (crashpad_client.StartHandler(base::FilePath(handler),
if (crashpad_client.StartHandler(
base::FilePath(handler),
base::FilePath(database),
std::string(),
ProcessAnnotations,

View File

@@ -70,22 +70,23 @@ using namespace Windows::Foundation;
using namespace Platform;
namespace {
QStringList _initLogs;
bool themeInited = false;
bool finished = true;
QMargins simpleMargins, margins;
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
QStringList _initLogs;
class _PsInitializer {
public:
bool themeInited = false;
bool finished = true;
QMargins simpleMargins, margins;
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
class _PsInitializer {
public:
_PsInitializer() {
Dlls::start();
}
};
_PsInitializer _psInitializer;
};
_PsInitializer _psInitializer;
} // namespace
void psDeleteDir(const QString &dir) {
std::wstring wDir = QDir::toNativeSeparators(dir).toStdWString();

2
cmake

Submodule cmake updated: 4490667520...b087501d66