-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106024/
-----------------------------------------------------------

(Updated Aug. 15, 2012, 8:20 a.m.)


Review request for Telepathy.


Changes
-------

Separate the AccountsModel::IdRole and GroupsModel::GroupNameRole and only 
return default ID, not the name.


Description
-------

If the contact has no groups, it is placed into "Ungrouped" group. This is done 
when the group name is empty. However the group still needs some id in the 
model to properly handle the expanded/collapsed state, ie. you can't save an 
empty string into config file. The AccountsModel::IdRole & 
GroupsModel::GroupNameRole is not used anywhere in the UI, so the user won't 
see this. And returning this on the model level makes sure this group is 
actually not created on the server.


Diffs (updated)
-----

  KTp/Models/groups-model-item.cpp c85ffbf 

Diff: http://git.reviewboard.kde.org/r/106024/diff/


Testing
-------


Thanks,

Martin Klapetek

_______________________________________________
KDE-Telepathy mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-telepathy

Reply via email to