mirror of
https://github.com/redis/RedisDesktopManager.git
synced 2026-10-28 11:06:37 +08:00
Build updates for snapcraft
- Disable linux signal watcher by default - Improve pro files
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@
|
||||
#include "app/app.h"
|
||||
#include "modules/crashhandler/crashhandler.h"
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#ifdef LINUX_SIGNALS
|
||||
#include <sigwatch.h>
|
||||
#endif
|
||||
|
||||
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
|
||||
a.initModels();
|
||||
a.initQml();
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#ifdef LINUX_SIGNALS
|
||||
UnixSignalWatcher sigwatch;
|
||||
sigwatch.watchForSignal(SIGINT);
|
||||
sigwatch.watchForSignal(SIGTERM);
|
||||
|
||||
Reference in New Issue
Block a user