Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
d996c331
Commit
d996c331
authored
May 11, 2010
by
Adrian Georgescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the Display Name of contacts created at first run
parent
a109e44b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
contacts.py
blink/contacts.py
+4
-4
No files found.
blink/contacts.py
View file @
d996c331
...
...
@@ -707,10 +707,10 @@ class ContactModel(QAbstractListModel):
except
Exception
:
file
=
None
group
=
ContactGroup
(
'Test'
)
contacts
=
[
Contact
(
group
,
'
Call Test
'
,
'3333@sip2sip.info'
,
'icons/3333@sip2sip.info.png'
),
Contact
(
group
,
'
Echo Test
'
,
'4444@sip2sip.info'
,
'icons/4444@sip2sip.info.png'
),
Contact
(
group
,
'
Multi-Party Chat
'
,
'123@chatserver.ag-projects.com'
),
Contact
(
group
,
'VUC Conference'
,
'200901@login.zipdx.com'
,
'icons/200901@login.zipdx.com.png'
)]
contacts
=
[
Contact
(
group
,
'
Play James Bond Theme
'
,
'3333@sip2sip.info'
,
'icons/3333@sip2sip.info.png'
),
Contact
(
group
,
'
Test Your Microphone
'
,
'4444@sip2sip.info'
,
'icons/4444@sip2sip.info.png'
),
Contact
(
group
,
'
Test Multi-Party Chatserver
'
,
'123@chatserver.ag-projects.com'
),
Contact
(
group
,
'VUC Conference
http://vuc.me
'
,
'200901@login.zipdx.com'
,
'icons/200901@login.zipdx.com.png'
)]
contacts
.
sort
(
key
=
attrgetter
(
'name'
))
items
=
[
group
]
+
contacts
self
.
beginResetModel
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment