mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Fix compilation on Linux/Mac
This commit is contained in:
parent
1e21ac3d79
commit
b9a0adc311
@ -121,13 +121,13 @@ public:
|
||||
void sigintHandler(int) {
|
||||
signal(SIGINT, 0);
|
||||
qDebug("Catching SIGINT, exiting cleanly");
|
||||
app->exit();
|
||||
qApp->exit();
|
||||
}
|
||||
|
||||
void sigtermHandler(int) {
|
||||
signal(SIGTERM, 0);
|
||||
qDebug("Catching SIGTERM, exiting cleanly");
|
||||
app->exit();
|
||||
qApp->exit();
|
||||
}
|
||||
void sigsegvHandler(int) {
|
||||
signal(SIGABRT, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user