summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-08 13:52:20 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-08 13:53:22 (GMT)
commitb3d8d30b254b23f15089dc0caf9a41a24bad817e (patch)
tree22cdf743e73956c13b319ecc1ade5a60c83c9753
parent0b466c2053fefd2e8da56c41d30161b02ed6e77c (diff)
downloadQt-b3d8d30b254b23f15089dc0caf9a41a24bad817e.zip
Qt-b3d8d30b254b23f15089dc0caf9a41a24bad817e.tar.gz
Qt-b3d8d30b254b23f15089dc0caf9a41a24bad817e.tar.bz2
network-settings.h: Check for DNS setup only when needed
-rw-r--r--tests/auto/network-settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index da96599..8a8c6f6 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -74,6 +74,7 @@ public:
};
+#ifdef QT_NETWORK_LIB
class QtNetworkSettingsInitializerCode {
public:
QtNetworkSettingsInitializerCode() {
@@ -87,3 +88,4 @@ public:
}
};
QtNetworkSettingsInitializerCode qtNetworkSettingsInitializer;
+#endif