summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-21 11:50:53 (GMT)
committeraxis <qt-info@nokia.com>2009-08-21 11:54:23 (GMT)
commit342e59730c512fd38a0b03888254b52f2a181ae9 (patch)
tree0d847bc611fdd5c952decdfca5ccc19deac62bd7
parent8bf325de4ea3a8c57e7708314e783e68478ed985 (diff)
downloadQt-342e59730c512fd38a0b03888254b52f2a181ae9.zip
Qt-342e59730c512fd38a0b03888254b52f2a181ae9.tar.gz
Qt-342e59730c512fd38a0b03888254b52f2a181ae9.tar.bz2
Remove commented-out code from examples.
RevBy: Trust me
-rw-r--r--examples/network/network-chat/peermanager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/network/network-chat/peermanager.cpp b/examples/network/network-chat/peermanager.cpp
index a038571..8fdef8c 100644
--- a/examples/network/network-chat/peermanager.cpp
+++ b/examples/network/network-chat/peermanager.cpp
@@ -165,10 +165,6 @@ void PeerManager::updateAddresses()
foreach (QNetworkAddressEntry entry, interface.addressEntries()) {
QHostAddress broadcastAddress = entry.broadcast();
if (broadcastAddress != QHostAddress::Null && entry.ip() != QHostAddress::LocalHost) {
- //printf("entry.ip: %s\n", entry.ip().toString().toLatin1().data());
- //printf("entry.netmask: %s\n", entry.netmask().toString().toLatin1().data());
- //printf("entry.prefixLength: %i\n", entry.prefixLength());
- //printf("entry.broadcast %s \n", broadcastAddress.toString().toLatin1().data());
broadcastAddresses << broadcastAddress;
ipAddresses << entry.ip();
}