2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

some namespaces reorganized, author photo display added to wide mode (where messages are centered), version 0.9.20.dev

This commit is contained in:
John Preston
2016-02-08 17:54:55 +03:00
parent 5320285943
commit 80ba0259dd
46 changed files with 400 additions and 381 deletions

View File

@@ -295,7 +295,7 @@ namespace Logs {
Initializer::Initializer() {
t_assert(LogsData == 0);
if (!Global::CheckBetaVersionDir()) {
if (!Sandbox::CheckBetaVersionDir()) {
return;
}
bool workingDirChosen = cBetaVersion();
@@ -336,7 +336,7 @@ namespace Logs {
QDir().setCurrent(cWorkingDir());
QDir().mkpath(cWorkingDir() + qstr("tdata"));
Global::WorkingDirReady();
Sandbox::WorkingDirReady();
SignalHandlers::StartBreakpad();
if (!LogsData->openMain()) {
@@ -940,7 +940,7 @@ namespace SignalHandlers {
}
fclose(f);
Global::SetLastCrashDump(lastdump);
Sandbox::SetLastCrashDump(lastdump);
LOG(("Opened '%1' for reading, the previous Telegram Desktop launch was not finished properly :( Crash log size: %2").arg(QString::fromUtf8(CrashDumpPath)).arg(lastdump.size()));