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