Commit a2f7d308 authored by Méven Car's avatar Méven Car
Browse files

Don't CacheUser/UnCacheUser when editing Realname

1d10226d and 83549151 introduced those lines to follow gnome-control-center example.
Since then gnome-control-center does not call AccountService CacheUser UnCacheUser.

BUG: 392943
FIXED-IN: 5.18

Test Plan:
1. Open user-mananger `kcmshell5 user_manager`
2. Ensure to set any picture for your user
3. Add "1" to your Real name
4. Click on Apply

The avatar for your account in the left list is resetted to default setting.

Only the RealName has changed.

Reviewers: ngraham, #plasma

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent b279882a
...@@ -207,8 +207,6 @@ bool AccountModel::setData(const QModelIndex& index, const QVariant& value, int ...@@ -207,8 +207,6 @@ bool AccountModel::setData(const QModelIndex& index, const QVariant& value, int
} }
m_kEmailSettings.setSetting(KEMailSettings::RealName, value.toString()); m_kEmailSettings.setSetting(KEMailSettings::RealName, value.toString());
emit dataChanged(index, index); emit dataChanged(index, index);
return true; return true;
case AccountModel::Username: case AccountModel::Username:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment