on xenial help sign in
drop unneeded changes
fd99033Lukáš Tinkl
tests/plugins/AccountsService/PropertiesServer.cpp+2−4
@@ -75,8 +75,8 @@ void PropertiesServer::Set(const QString &interface, const QString &property, co
75
75
76 oldValue = newValue;
76 oldValue = newValue;
77
77
78− // Special case for Background file.
78+ // Special case for user properties.
79− if (interface == "org.freedesktop.Accounts.User" && (property == "BackgroundFile" || property == "InputSources")) {
79+ if (interface == "org.freedesktop.Accounts.User") {
80 Q_EMIT Changed();
80 Q_EMIT Changed();
81 } else {
81 } else {
82 QVariantMap propertyChanges;
82 QVariantMap propertyChanges;
@@ -101,8 +101,6 @@ void PropertiesServer::Reset()
101 m_properties["com.canonical.unity.AccountsService.Private"]["FailedLogins"] = 0;
101 m_properties["com.canonical.unity.AccountsService.Private"]["FailedLogins"] = 0;
102 m_properties["com.ubuntu.touch.AccountsService.SecurityPrivacy"]["StatsWelcomeScreen"] = true;
102 m_properties["com.ubuntu.touch.AccountsService.SecurityPrivacy"]["StatsWelcomeScreen"] = true;
103 m_properties["com.ubuntu.AccountsService.Input"]["MousePrimaryButton"] = "right";
103 m_properties["com.ubuntu.AccountsService.Input"]["MousePrimaryButton"] = "right";
104− m_properties["com.ubuntu.AccountsService.Input"]["MouseCursorSpeed"] = 0.5;
105− m_properties["com.ubuntu.AccountsService.Input"]["TouchpadCursorSpeed"] = 0.5;
106 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["EnableLauncherWhileLocked"] = true;
104 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["EnableLauncherWhileLocked"] = true;
107 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["EnableIndicatorsWhileLocked"] = true;
105 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["EnableIndicatorsWhileLocked"] = true;
108 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["PasswordDisplayHint"] = AccountsService::Keyboard;
106 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["PasswordDisplayHint"] = AccountsService::Keyboard;