Changeset View
Changeset View
Standalone View
Standalone View
src/lib/accountmodel.cpp
Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Line(s) | 153 | case AccountModel::Face: | |||
---|---|---|---|---|---|
157 | emit dataChanged(index, index); | 157 | emit dataChanged(index, index); | ||
158 | return true; | 158 | return true; | ||
159 | case AccountModel::RealName: | 159 | case AccountModel::RealName: | ||
160 | if (checkForErrors(acc->SetRealName(value.toString()))) { | 160 | if (checkForErrors(acc->SetRealName(value.toString()))) { | ||
161 | return false; | 161 | return false; | ||
162 | } | 162 | } | ||
163 | m_kEmailSettings.setSetting(KEMailSettings::RealName, value.toString()); | 163 | m_kEmailSettings.setSetting(KEMailSettings::RealName, value.toString()); | ||
164 | 164 | | |||
165 | m_dbus->UncacheUser(acc->userName()).waitForFinished(); | | |||
mart: is there absolutely nothing left needing this? | |||||
I can't find anything at least. I tested the systemsettings window is updated correctly everywhere, the screen locker shows the new name correctly and logging out shows the new name correctly. If you can tell me anything else to test, I'll test it. antlarr: I can't find anything at least. I tested the systemsettings window is updated correctly… | |||||
166 | m_dbus->CacheUser(acc->userName()); | | |||
167 | emit dataChanged(index, index); | 165 | emit dataChanged(index, index); | ||
168 | return true; | 166 | return true; | ||
169 | case AccountModel::Username: | 167 | case AccountModel::Username: | ||
170 | if (checkForErrors(acc->SetUserName(value.toString()))) { | 168 | if (checkForErrors(acc->SetUserName(value.toString()))) { | ||
171 | return false; | 169 | return false; | ||
172 | } | 170 | } | ||
173 | 171 | | |||
174 | emit dataChanged(index, index); | 172 | emit dataChanged(index, index); | ||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |
is there absolutely nothing left needing this?