summaryrefslogtreecommitdiffstats
path: root/tdecore/networkbackends
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-26 16:32:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-26 16:32:42 -0600
commit259ae3880dd5abd572ce05e3ac14c395e451afc9 (patch)
treef5751f0ba295262192e1f9edabee1ce9678a639f /tdecore/networkbackends
parent1351acec11a5f985ef664119c54aba254195f8b2 (diff)
downloadtdelibs-259ae3880dd5abd572ce05e3ac14c395e451afc9.tar.gz
tdelibs-259ae3880dd5abd572ce05e3ac14c395e451afc9.zip
Fix unexported library and increase NM DBUS timeout
Diffstat (limited to 'tdecore/networkbackends')
-rw-r--r--tdecore/networkbackends/network-manager/network-manager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdecore/networkbackends/network-manager/network-manager.cpp b/tdecore/networkbackends/network-manager/network-manager.cpp
index a4ff24a90..9b0a466e7 100644
--- a/tdecore/networkbackends/network-manager/network-manager.cpp
+++ b/tdecore/networkbackends/network-manager/network-manager.cpp
@@ -37,7 +37,9 @@
#define UPDATE_STRING_SETTING_IF_VALID(string, key, settingsMap) if (!string.isNull()) settingsMap[key] = convertDBUSDataToVariantData(TQT_DBusData::fromString(string)); \
else settingsMap.remove(key);
-#define NM_ASYNC_TIMEOUT_MS 1000
+//#define NM_ASYNC_TIMEOUT_MS 1000
+// Give the user 5 minutes to authenticate to DBUS before timing out
+#define NM_ASYNC_TIMEOUT_MS (5*60*1000)
TQ_UINT32 reverseIPV4ByteOrder(TQ_UINT32 address) {
TQ_UINT32 ret;