diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-31 10:25:06 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-31 10:25:06 +0000 |
| commit | 4320ba9d1aa5c987f77b4986074479e2d4b229bb (patch) | |
| tree | 29ffa4bfff2664d02f801061900ceca1ed2c5b5e /src/QXmppStun.cpp | |
| parent | b30662f4c03c940cc8c97a906920495f337e222e (diff) | |
| download | qxmpp-4320ba9d1aa5c987f77b4986074479e2d4b229bb.tar.gz | |
compatibility fix for Qt 4.4
Diffstat (limited to 'src/QXmppStun.cpp')
| -rw-r--r-- | src/QXmppStun.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/QXmppStun.cpp b/src/QXmppStun.cpp index 3aa3fe31..092484b4 100644 --- a/src/QXmppStun.cpp +++ b/src/QXmppStun.cpp @@ -719,7 +719,9 @@ bool QXmppStunSocket::bind() candidate.setComponent(m_component); candidate.setHost(entry.ip()); candidate.setId(generateStanzaHash(10)); +#if QT_VERSION >= 0x040500 candidate.setNetwork(interface.index()); +#endif candidate.setPort(m_socket->localPort()); candidate.setPriority(2130706432 - m_component); candidate.setProtocol("udp"); |
