summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-08 13:51:40 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-08 13:51:40 (GMT)
commit97fad21de75f2753cc9804f5924074b7b0d99262 (patch)
treeb1ac95e3458e07348bc989c2b4195fdea92d4672 /tests/auto
parent6180d5cb66a98efa7c181ef51ef4a209b68c4234 (diff)
downloadQt-97fad21de75f2753cc9804f5924074b7b0d99262.zip
Qt-97fad21de75f2753cc9804f5924074b7b0d99262.tar.gz
Qt-97fad21de75f2753cc9804f5924074b7b0d99262.tar.bz2
network-settings.h: Check for DNS setup only when needed
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/network-settings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index 6ffb6f4..a770f8e 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -329,7 +329,7 @@ QByteArray QtNetworkSettings::imapExpectedReplySsl;
#define Q_SET_DEFAULT_IAP
#endif
-
+#ifdef QT_NETWORK_LIB
class QtNetworkSettingsInitializerCode {
public:
QtNetworkSettingsInitializerCode() {
@@ -343,3 +343,4 @@ public:
}
};
QtNetworkSettingsInitializerCode qtNetworkSettingsInitializer;
+#endif