X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=main%2Fglobal.cpp;fp=main%2Fglobal.cpp;h=25eba7ec6167dae7f0d2cc9d87255ad78cb51b98;hp=7a47771bda6269740277b3bd8e8955a31aa6490c;hb=1c7d9f13b744cd517c0769f453fd8dc3106cd94c;hpb=855fa19ba139d5dbdbf26bb660251ff8fe620e12 diff --git a/main/global.cpp b/main/global.cpp index 7a47771b..25eba7ec 100644 --- a/main/global.cpp +++ b/main/global.cpp @@ -21,9 +21,9 @@ #include "global.h" #include "logger.h" #include "core.h" +#include "message.h" -#include -#include +#include #include extern void messageHandler(QtMsgType type, const char *msg); @@ -31,6 +31,7 @@ extern void messageHandler(QtMsgType type, const char *msg); Global::Global() { if(global) qFatal("Trying to instantiate more than one Global object!"); qInstallMsgHandler(messageHandler); + qRegisterMetaType("Message"); //initIconMap(); }