summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdenetworkconnections.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.cpp b/tdecore/tdenetworkconnections.cpp
index 6139bd49f..3891f1ff7 100644
--- a/tdecore/tdenetworkconnections.cpp
+++ b/tdecore/tdenetworkconnections.cpp
@@ -21,6 +21,8 @@
#include "config.h"
+#include <tquuid.h>
+
#include <klocale.h>
#ifdef WITH_NETWORK_MANAGER_BACKEND
@@ -499,6 +501,11 @@ TDENetworkConnection::TDENetworkConnection() {
requireIPV4 = false;
requireIPV6 = false;
mtu = 0;
+
+ // Create a UUID for the new connection
+ // This may be overridden later on if connection information
+ // is loaded into this object from another source
+ UUID = TQUuid::createUuid().toString();
}
TDENetworkConnection::~TDENetworkConnection() {