X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Flogger.cpp;h=6047042c5dcc7a0e6fe82f5f1659135494ed5d97;hp=25bb06b017b8ffc43d3355ba82da6703171a90e9;hb=ef12cc4010e853348474b4ea15c383dd596d4858;hpb=077d44f36d2f5c730283ef6be839aea7dd073d56;ds=sidebyside diff --git a/src/common/logger.cpp b/src/common/logger.cpp index 25bb06b0..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 * @@ -18,15 +18,13 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include "global.h" #include "logger.h" #include - - +#include Logger::~Logger() { - //qInstallMsgHandler(0); + qInstallMsgHandler(0); } void messageHandler(QtMsgType type, const char *msg) { @@ -47,5 +45,5 @@ void messageHandler(QtMsgType type, const char *msg) { } Logger::Logger() { - //qInstallMsgHandler(messageHandler); + qInstallMsgHandler(messageHandler); }