refresh contactlist on HushChat tab
This commit is contained in:
@@ -3,8 +3,13 @@
|
||||
|
||||
void ContactModel::renderContactList(QListWidget* view)
|
||||
{
|
||||
while(view->count() > 0)
|
||||
{
|
||||
view->takeItem(0);
|
||||
}
|
||||
for(auto &c : AddressBook::getInstance()->getAllAddressLabels())
|
||||
{
|
||||
view->addItem(c.getName());
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1388,6 +1388,14 @@
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="memoSizeChat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>1180</x>
|
||||
<y>460</y>
|
||||
<width>47</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true">0 / 512</string>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user