X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fbasichandler.cpp;h=6ad7828982ae317a5e6442ca325a669c8f29f751;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hp=df5eb99e96243ec27e670e62dd57949ecdf1dfc8;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/common/basichandler.cpp b/src/common/basichandler.cpp index df5eb99e..6ad78289 100644 --- a/src/common/basichandler.cpp +++ b/src/common/basichandler.cpp @@ -20,10 +20,9 @@ #include "basichandler.h" +#include #include -#include "logger.h" - BasicHandler::BasicHandler(QObject *parent) : QObject(parent), _defaultHandler(-1), @@ -52,11 +51,7 @@ const QHash &BasicHandler::handlerHash() { if (!_initDone) { for (int i = metaObject()->methodOffset(); i < metaObject()->methodCount(); i++) { -#if QT_VERSION >= 0x050000 QString methodSignature = metaObject()->method(i).methodSignature(); -#else - QString methodSignature = metaObject()->method(i).signature(); -#endif if (methodSignature.startsWith("defaultHandler")) { _defaultHandler = i; continue;