summaryrefslogtreecommitdiffstats
path: root/tests/auto/networkselftest
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-12-31 16:03:27 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-12-31 16:03:27 (GMT)
commit7dfb420b99180e61efc1b089f47932ac07a4bf36 (patch)
treec33106c1a9906cb2a7955ace3a6f3c665f1f55d9 /tests/auto/networkselftest
parentb36a6fc2961fabf1a2236f580f00384b88076c7c (diff)
parent44109ecd14a707a78140a06e1452d30d52be33af (diff)
downloadQt-7dfb420b99180e61efc1b089f47932ac07a4bf36.zip
Qt-7dfb420b99180e61efc1b089f47932ac07a4bf36.tar.gz
Qt-7dfb420b99180e61efc1b089f47932ac07a4bf36.tar.bz2
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'tests/auto/networkselftest')
-rw-r--r--tests/auto/networkselftest/tst_networkselftest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/networkselftest/tst_networkselftest.cpp b/tests/auto/networkselftest/tst_networkselftest.cpp
index ecbc08c..9486671 100644
--- a/tests/auto/networkselftest/tst_networkselftest.cpp
+++ b/tests/auto/networkselftest/tst_networkselftest.cpp
@@ -345,7 +345,7 @@ QHostAddress tst_NetworkSelfTest::serverIpAddress()
// need resolving
QHostInfo resolved = QHostInfo::fromName(QtNetworkSettings::serverName());
if(resolved.error() != QHostInfo::NoError ||
- !resolved.addresses().isEmpty()) {
+ resolved.addresses().isEmpty()) {
qWarning("QHostInfo::fromName failed (%d).", resolved.error());
return QHostAddress(QHostAddress::Null);
}