path: root/src/imports/networksettings/plugin.cpp
diff options
authorKari Oikarinen <>2017-04-07 16:23:35 +0300
committerKari Oikarinen <>2017-04-10 11:48:32 +0000
commit314de829065a3fa411b8fed90ff1289b000e229b (patch)
tree1f075b1f5b17ee545c5a1cf4dab0b21176b0919f /src/imports/networksettings/plugin.cpp
parentc396ac229303aeafa06e741948f68b94c1671e1e (diff)
Don't give connman user name as a network name
Don't give the network name as all, since it is not required for visible networks. Also adjust the API to remove the user name parameter that was never used (correctly). Task-number: QTBUG-57249 Change-Id: I0eb75db6eebcaa05661a9404b728ab8af831cf1d Reviewed-by: Teemu Holappa <>
Diffstat (limited to 'src/imports/networksettings/plugin.cpp')
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/networksettings/plugin.cpp b/src/imports/networksettings/plugin.cpp
index c1dac53..2a67657 100644
--- a/src/imports/networksettings/plugin.cpp
+++ b/src/imports/networksettings/plugin.cpp
@@ -116,9 +116,9 @@
- \qmlmethod NetworkSettingsManager::userAgent.setUserCredentials(string username, string passphrase)
+ \qmlmethod NetworkSettingsManager::userAgent.setPassphrase(string passphrase)
- Sets the user credentials \a username and \a passphrase for connecting to a Wifi network.
+ Sets the \a passphrase for connecting to a Wifi network.
This method needs to be called in response to receiving a showUserCredentialsInput() signal.
@@ -130,7 +130,7 @@
This signal is emitted when user credentials are required for connecting to a Wifi network.
- \sa userAgent.setUserCredentials()
+ \sa userAgent.setPassphrase()