mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Disable Linux-specific function when compiling for Windows
This commit is contained in:
parent
9eae2b8ea9
commit
d7f172060c
1 changed files with 2 additions and 0 deletions
|
@ -357,8 +357,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue