on xenial help sign in
drop unneeded changes
commitfd99033e7ae104ffc867a67fb46dfbdfc83376a0 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 11 Mar 2016, 16:18 (11 years ago) parent4e43f11
1 file changed+2−4
tests/plugins/AccountsService/PropertiesServer.cpp+2−4
tests/plugins/AccountsService/PropertiesServer.cpp+2−4
@@ -75,8 +75,8 @@ void PropertiesServer::Set(const QString &interface, const QString &property, co
7575
7676 oldValue = newValue;
7777
78− // Special case for Background file.
79− if (interface == "org.freedesktop.Accounts.User" && (property == "BackgroundFile" || property == "InputSources")) {
78+ // Special case for user properties.
79+ if (interface == "org.freedesktop.Accounts.User") {
8080 Q_EMIT Changed();
8181 } else {
8282 QVariantMap propertyChanges;
@@ -101,8 +101,6 @@ void PropertiesServer::Reset()
101101 m_properties["com.canonical.unity.AccountsService.Private"]["FailedLogins"] = 0;
102102 m_properties["com.ubuntu.touch.AccountsService.SecurityPrivacy"]["StatsWelcomeScreen"] = true;
103103 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;
106104 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["EnableLauncherWhileLocked"] = true;
107105 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["EnableIndicatorsWhileLocked"] = true;
108106 m_properties["com.ubuntu.AccountsService.SecurityPrivacy"]["PasswordDisplayHint"] = AccountsService::Keyboard;