summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamarque V. Souza <lamarque@kde.org>2012-12-06 03:15:04 (GMT)
committerLamarque V. Souza <lamarque@kde.org>2012-12-06 03:18:05 (GMT)
commit64988f79dc199bbd4e96db0ea34f8c5bb6450747 (patch)
tree09c46240c95216f21f1aec28b2b803c2f3a63c30
parent0f57da2bb66a591903c4ecfa61d37decafd6ca7b (diff)
Fix ConnectionSecretsJob::doAskUser() for vpn connections.
(cherry picked from commit 0cd908c1c192271707b53df76f49fe3a4c697327)
-rw-r--r--backends/NetworkManager/nmdbussecretagent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/NetworkManager/nmdbussecretagent.cpp b/backends/NetworkManager/nmdbussecretagent.cpp
index f802604..ae30ee3 100644
--- a/backends/NetworkManager/nmdbussecretagent.cpp
+++ b/backends/NetworkManager/nmdbussecretagent.cpp
@@ -94,6 +94,7 @@ QVariantMapMap NMDBusSecretAgent::GetSecrets(const QVariantMapMap &connection, c
msg.setDelayedReply(true);
Knm::Connection * con = new Knm::Connection(QUuid(), Knm::Connection::Wired);
ConnectionDbus condbus(con);
+ condbus.fromDbusMap(connection);
condbus.fromDbusSecretsMap(connection);
QPair<QString,QDBusMessage> pair;
pair.first = connection_path.path();