Commit d996c331 authored by Adrian Georgescu's avatar Adrian Georgescu

Changed the Display Name of contacts created at first run

parent a109e44b
...@@ -707,10 +707,10 @@ class ContactModel(QAbstractListModel): ...@@ -707,10 +707,10 @@ class ContactModel(QAbstractListModel):
except Exception: except Exception:
file = None file = None
group = ContactGroup('Test') group = ContactGroup('Test')
contacts = [Contact(group, 'Call Test', '3333@sip2sip.info', 'icons/3333@sip2sip.info.png'), contacts = [Contact(group, 'Play James Bond Theme', '3333@sip2sip.info', 'icons/3333@sip2sip.info.png'),
Contact(group, 'Echo Test', '4444@sip2sip.info', 'icons/4444@sip2sip.info.png'), Contact(group, 'Test Your Microphone', '4444@sip2sip.info', 'icons/4444@sip2sip.info.png'),
Contact(group, 'Multi-Party Chat', '123@chatserver.ag-projects.com'), Contact(group, 'Test Multi-Party Chatserver', '123@chatserver.ag-projects.com'),
Contact(group, 'VUC Conference', '200901@login.zipdx.com', 'icons/200901@login.zipdx.com.png')] Contact(group, 'VUC Conference http://vuc.me', '200901@login.zipdx.com', 'icons/200901@login.zipdx.com.png')]
contacts.sort(key=attrgetter('name')) contacts.sort(key=attrgetter('name'))
items = [group] + contacts items = [group] + contacts
self.beginResetModel() self.beginResetModel()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment