diff options
Diffstat (limited to 'examples/GuiClient/rosterItemModel.cpp')
| -rw-r--r-- | examples/GuiClient/rosterItemModel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/GuiClient/rosterItemModel.cpp b/examples/GuiClient/rosterItemModel.cpp index 18d4f655..0049278c 100644 --- a/examples/GuiClient/rosterItemModel.cpp +++ b/examples/GuiClient/rosterItemModel.cpp @@ -80,11 +80,6 @@ void rosterItemModel::updateRosterEntry(const QString& bareJid, const QXmppRoste addRosterItemIfDontExist(bareJid);
QString name = rosterEntry.name();
- if(name.isEmpty())
- {
- name = bareJid;
- }
-
if(getRosterItemFromBareJid(bareJid))
getRosterItemFromBareJid(bareJid)->setName(name);
}
|
