X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fposixsignalwatcher.cpp;h=3db16359e284d16062d6270ed7d2c03a733462d3;hb=4a5f59de4b332d16ff8942051e29d9354b5bbac3;hp=eee391830296d6b55e7c6677c0f1a9ac446c3fa6;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/posixsignalwatcher.cpp b/src/common/posixsignalwatcher.cpp index eee39183..3db16359 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-2019 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: