X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=a8fe30dc674ed3f43764dc1d71256ad3ae7bb27d;hp=a1f9e714b4e66d1d2b8b1c0c2a9e5701f7d214c8;hb=64cf9f9b8a737dad5f29447805d4004cfd03c454;hpb=fd25e92f19d6afd4eb02844bcbf20ba132868303 diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index a1f9e714..a8fe30dc 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -21,21 +21,12 @@ #ifndef SIGNALPROXY_H #define SIGNALPROXY_H -#include #include -#include -#include -#include -#include -#include #include -#include -#include -#include #include "protocol.h" -class QMetaObject; +struct QMetaObject; class Peer; class SyncableObject; @@ -134,7 +125,7 @@ private: void handle(Peer *peer, const Protocol::InitData &initData); template - void handle(Peer *peer, T) { Q_ASSERT(0); } + void handle(Peer *, T) { Q_ASSERT(0); } bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms, QVariant &returnValue); bool invokeSlot(QObject *receiver, int methodId, const QVariantList ¶ms = QVariantList());