X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreapplication.cpp;h=9b48adb92193d6b505746d3980c42a438f0fbcaf;hp=f6212d74fde8c8d1d3dbf81831ef5c41722549d0;hb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/core/coreapplication.cpp b/src/core/coreapplication.cpp index f6212d74..9b48adb9 100644 --- a/src/core/coreapplication.cpp +++ b/src/core/coreapplication.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "coreapplication.h" @@ -85,7 +85,11 @@ CoreApplication::~CoreApplication() bool CoreApplication::init() { if (Quassel::init() && _internal->init()) { +#if QT_VERSION < 0x050000 qInstallMsgHandler(Logger::logMessage); +#else + qInstallMessageHandler(Logger::logMessage); +#endif return true; } return false;