mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Fix OpenAL device closing in calls and voice chats.
Also add 64 bit Windows info in crash platform string.
This commit is contained in:
@@ -88,8 +88,10 @@ void AboutBox::resizeEvent(QResizeEvent *e) {
|
|||||||
void AboutBox::showVersionHistory() {
|
void AboutBox::showVersionHistory() {
|
||||||
if (cRealAlphaVersion()) {
|
if (cRealAlphaVersion()) {
|
||||||
auto url = qsl("https://tdesktop.com/");
|
auto url = qsl("https://tdesktop.com/");
|
||||||
if (Platform::IsWindows()) {
|
if (Platform::IsWindows32Bit()) {
|
||||||
url += qsl("win/%1.zip");
|
url += qsl("win/%1.zip");
|
||||||
|
} else if (Platform::IsWindows64Bit()) {
|
||||||
|
url += qsl("win64/%1.zip");
|
||||||
} else if (Platform::IsOSXBuild()) {
|
} else if (Platform::IsOSXBuild()) {
|
||||||
url += qsl("osx/%1.zip");
|
url += qsl("osx/%1.zip");
|
||||||
} else if (Platform::IsMac()) {
|
} else if (Platform::IsMac()) {
|
||||||
@@ -143,5 +145,8 @@ QString currentVersionText() {
|
|||||||
} else if (AppBetaVersion) {
|
} else if (AppBetaVersion) {
|
||||||
result += " beta";
|
result += " beta";
|
||||||
}
|
}
|
||||||
|
if (Platform::IsWindows64Bit()) {
|
||||||
|
result += " x64";
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@@ -318,12 +318,36 @@ bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context,
|
|||||||
#endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS
|
#endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
if (Platform::IsWindowsStoreBuild()) {
|
||||||
|
return Platform::IsWindows64Bit()
|
||||||
|
? "WinStore64Bit"
|
||||||
|
: "WinStore32Bit";
|
||||||
|
} else if (Platform::IsWindows32Bit()) {
|
||||||
|
return "Windows32Bit";
|
||||||
|
} else if (Platform::IsWindows64Bit()) {
|
||||||
|
return "Windows64Bit";
|
||||||
|
} else if (Platform::IsMacStoreBuild()) {
|
||||||
|
return "MacAppStore";
|
||||||
|
} else if (Platform::IsOSXBuild()) {
|
||||||
|
return "OSX";
|
||||||
|
} else if (Platform::IsMac()) {
|
||||||
|
return "MacOS";
|
||||||
|
} else if (Platform::IsLinux32Bit()) {
|
||||||
|
return "Linux32Bit";
|
||||||
|
} else if (Platform::IsLinux64Bit()) {
|
||||||
|
return "Linux64bit";
|
||||||
|
}
|
||||||
|
Unexpected("Platform in CrashReports::PlatformString.");
|
||||||
|
|
||||||
QString PlatformString() {
|
QString PlatformString() {
|
||||||
if (Platform::IsWindowsStoreBuild()) {
|
if (Platform::IsWindowsStoreBuild()) {
|
||||||
return qsl("WinStore");
|
return Platform::IsWindows64Bit()
|
||||||
} else if (Platform::IsWindows()) {
|
? qsl("WinStore64Bit")
|
||||||
return qsl("Windows");
|
: qsl("WinStore32Bit");
|
||||||
|
} else if (Platform::IsWindows32Bit()) {
|
||||||
|
return qsl("Windows32Bit");
|
||||||
|
} else if (Platform::IsWindows64Bit()) {
|
||||||
|
return qsl("Windows64Bit");
|
||||||
} else if (Platform::IsMacStoreBuild()) {
|
} else if (Platform::IsMacStoreBuild()) {
|
||||||
return qsl("MacAppStore");
|
return qsl("MacAppStore");
|
||||||
} else if (Platform::IsOSXBuild()) {
|
} else if (Platform::IsOSXBuild()) {
|
||||||
|
Submodule Telegram/lib_base updated: f770025cc1...2bf29ab1a5
Submodule Telegram/lib_webrtc updated: de46d688f0...af7269454c
Reference in New Issue
Block a user