Fix build.

This commit is contained in:
John Preston 2021-01-28 19:58:35 +04:00
parent fbf4f912c6
commit c13d0e96ef

View File

@ -318,26 +318,6 @@ bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context,
#endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS
} // 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() {
if (Platform::IsWindowsStoreBuild()) {