on xenial help sign in
Fixed interface and property for PasswordDisplayHint
commit927261acf00c2530f180f359c38951d7e288062a authorNick Dedekind <nick.dedekind@canonical.com> dateWed 15 Apr 2015, 17:09 (12 years ago) parent87ca4a5
1 file changed+3−3
plugins/AccountsService/AccountsService.cpp+3−3
plugins/AccountsService/AccountsService.cpp+3−3
@@ -262,8 +262,8 @@ void AccountsService::updateStatsWelcomeScreen(bool async)
262262void AccountsService::updatePasswordDisplayHint(bool async)
263263{
264264 QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
265− "com.ubuntu.touch.AccountsService.SecurityPrivacy",
266− "StatsWelcomeScreen");
265+ "com.ubuntu.AccountsService.SecurityPrivacy",
266+ "PasswordDisplayHint");
267267 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
268268
269269 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -271,7 +271,7 @@ void AccountsService::updatePasswordDisplayHint(bool async)
271271
272272 QDBusPendingReply<QDBusVariant> reply = *watcher;
273273 if (reply.isError()) {
274− qWarning() << "Failed to get 'StatsWelcomeScreen' property";
274+ qWarning() << "Failed to get 'PasswordDisplayHint' property";
275275 watcher->deleteLater();
276276 return;
277277 }