From 4320ba9d1aa5c987f77b4986074479e2d4b229bb Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 31 Aug 2010 10:25:06 +0000 Subject: compatibility fix for Qt 4.4 --- src/QXmppStun.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/QXmppStun.cpp') 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"); -- cgit v1.2.3