X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Flogger.cpp;h=6047042c5dcc7a0e6fe82f5f1659135494ed5d97;hb=1d3902f7006b2585479561d99e794285471a0329;hp=76fa916ec11b6bb57298de6c90f2ff1e9aeb6c97;hpb=0ac9ce4d7cf768d13993d6aa1d6b791c4149a843;p=quassel.git diff --git a/src/common/logger.cpp b/src/common/logger.cpp index 76fa916e..6047042c 100644 --- a/src/common/logger.cpp +++ b/src/common/logger.cpp @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005 by The Quassel Team * + * Copyright (C) 2005 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -21,11 +21,10 @@ #include "logger.h" #include - - +#include Logger::~Logger() { - //qInstallMsgHandler(0); + qInstallMsgHandler(0); } void messageHandler(QtMsgType type, const char *msg) { @@ -46,5 +45,5 @@ void messageHandler(QtMsgType type, const char *msg) { } Logger::Logger() { - //qInstallMsgHandler(messageHandler); + qInstallMsgHandler(messageHandler); }