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();

@ -1 +1 @@
Subproject commit ee55a0b69f65622fe25487745e5537ebcffd8372
Subproject commit d14ae77ad5ed27ca6ddbc9579c0c5e0afa18ffca

@ -1 +1 @@
Subproject commit 78690f858fc48b1bc824fd52a7d90a1080b0610e
Subproject commit baae6cdd9ba5216732222e7dec9a76b9ea3a7c83

@ -1 +1 @@
Subproject commit bd850834fc9ba6c62784306b65506ab19d64ab89
Subproject commit 2888aabf28bf9ca89f3d6d67a523bc5f2ce802ce

@ -1 +1 @@
Subproject commit 765e525458843ffb893586441b885ac5ba143e51
Subproject commit d30d361609d4b76d3a55b1329642caee30b82264

2
cmake

@ -1 +1 @@
Subproject commit 449066752048a9b5e64f8b9bbad7af8b0e53e8b2
Subproject commit b087501d66ea13395acd91397b3ab6a3a77c41b8