X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fposixsignalwatcher.cpp;h=9faf5ed812a58afe6fe8d44c2c16650ceb195f01;hb=097f625c4bd147f4127573ad8ab48555f9dc62d3;hp=eee391830296d6b55e7c6677c0f1a9ac446c3fa6;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/posixsignalwatcher.cpp b/src/common/posixsignalwatcher.cpp index eee39183..9faf5ed8 100644 --- a/src/common/posixsignalwatcher.cpp +++ b/src/common/posixsignalwatcher.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -32,8 +32,6 @@ #include #include -#include "logmessage.h" - int PosixSignalWatcher::_sockpair[2]; PosixSignalWatcher::PosixSignalWatcher(QObject* parent) @@ -88,7 +86,7 @@ void PosixSignalWatcher::onNotify(int sockfd) int signal; auto bytes = ::read(sockfd, &signal, sizeof(signal)); Q_UNUSED(bytes) - quInfo() << "Caught signal" << signal; + qInfo() << "Caught signal" << signal; switch (signal) { case SIGHUP: