projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Can't forward-declare meta types in Qt5
[quassel.git]
/
src
/
common
/
types.h
diff --git
a/src/common/types.h
b/src/common/types.h
index
c989123
..
290d53f
100644
(file)
--- a/
src/common/types.h
+++ b/
src/common/types.h
@@
-29,8
+29,9
@@
#include <QHostAddress>
#include <QDataStream>
#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
// 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)
typedef Peer * PeerPtr;
Q_DECLARE_METATYPE(PeerPtr)