From eab5a43a2e75a48cf1e87b0fccbcf8e5e5d5d759 Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Fri, 2 Apr 2021 17:22:44 -0700 Subject: [PATCH] Make controller.cpp compile on windows again --- src/controller.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controller.cpp b/src/controller.cpp index 9d0026b7f..70af78b27 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -86,6 +86,7 @@ Controller::Controller(QObject *parent) NeoChatConfig::self()->save(); }); +#ifndef Q_OS_WINDOWS // Setup Unix signal handlers const auto unixExitHandler = [](int /*sig*/) -> void { QCoreApplication::quit(); @@ -107,6 +108,7 @@ Controller::Controller(QObject *parent) for (auto sig : quitSignals) { sigaction(sig, &sa, nullptr); } +#endif } Controller::~Controller()