X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fposixsignalwatcher.cpp;h=9faf5ed812a58afe6fe8d44c2c16650ceb195f01;hp=eee391830296d6b55e7c6677c0f1a9ac446c3fa6;hb=HEAD;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/common/posixsignalwatcher.cpp b/src/common/posixsignalwatcher.cpp index eee39183..6894fe1c 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-2022 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: