summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Roster/QtTreeWidgetItem.h')
-rw-r--r--Swift/QtUI/Roster/QtTreeWidgetItem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/QtUI/Roster/QtTreeWidgetItem.h b/Swift/QtUI/Roster/QtTreeWidgetItem.h
index c35a840..2a72a83 100644
--- a/Swift/QtUI/Roster/QtTreeWidgetItem.h
+++ b/Swift/QtUI/Roster/QtTreeWidgetItem.h
@@ -23,8 +23,7 @@ class QtTreeWidgetItem : public TreeWidgetItem, public RosterItem {
}
void setText(const String& text) {
- displayName_ = P2QSTRING(text);
- // QTreeWidgetItem::setText(0, P2QSTRING(text));
+ setName(P2QSTRING(text));
}
void setTextColor(unsigned long color) {