X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fsignalproxy.h;h=a8fe30dc674ed3f43764dc1d71256ad3ae7bb27d;hp=a40a1b6b3892ed22e02069b3bc69810c2b4994ba;hb=121a7a9291abd0f49aab836a47c8afcae66da18e;hpb=5b69d94edcbc2f985243b1f19744f7b03f6e283b diff --git a/src/common/signalproxy.h b/src/common/signalproxy.h index a40a1b6b..a8fe30dc 100644 --- a/src/common/signalproxy.h +++ b/src/common/signalproxy.h @@ -26,7 +26,7 @@ #include "protocol.h" -class QMetaObject; +struct QMetaObject; class Peer; class SyncableObject; @@ -125,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());