1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

Disable Linux-specific function when compiling for Windows

This commit is contained in:
Chocobo1 2022-04-28 18:40:15 +08:00
parent c5cbda0bbe
commit 639ed40314
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -352,8 +352,10 @@ void sigAbnormalHandler(int signum)
reportToUser(msg);
reportToUser(sigName);
reportToUser("\n");
#if !defined Q_OS_WIN
print_stacktrace(); // unsafe
#endif
#endif
#if defined Q_OS_WIN && !defined DISABLE_GUI
StacktraceDialog dlg; // unsafe