projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
40601ae
)
Can't forward-declare meta types in Qt5
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 24 Mar 2014 20:00:44 +0000
(21:00 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 24 Mar 2014 23:21:25 +0000
(
00:21
+0100)
src/common/types.h
patch
|
blob
|
history
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)