Can't forward-declare meta types in Qt5
[quassel.git] / src / common / types.h
index c989123..290d53f 100644 (file)
@@ -29,8 +29,9 @@
 #include <QHostAddress>
 #include <QDataStream>
 
+#include "peer.h"
+
 // We need to special-case Peer* in attached signals/slots, so typedef it for the meta type system
-class Peer;
 typedef Peer * PeerPtr;
 Q_DECLARE_METATYPE(PeerPtr)