Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
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
Administrator
linphone-desktop
Commits
5cfa2c8e
Commit
5cfa2c8e
authored
Nov 23, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unstable
parent
7495b4aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
ContactsListModel.cpp
tests/src/components/contacts/ContactsListModel.cpp
+1
-1
TimelineModel.cpp
tests/src/components/timeline/TimelineModel.cpp
+1
-0
Contacts.qml
tests/ui/views/App/MainWindow/Contacts.qml
+10
-0
Conversation.qml
tests/ui/views/App/MainWindow/Conversation.qml
+1
-1
No files found.
tests/src/components/contacts/ContactsListModel.cpp
View file @
5cfa2c8e
...
...
@@ -60,7 +60,7 @@ bool ContactsListModel::removeRows (int row, int count, const QModelIndex &paren
m_list
.
removeAt
(
row
);
m_friend_to_contact
.
remove
(
contact
->
m_linphone_friend
.
get
());
//
m_linphone_friends->removeFriend(contact->m_linphone_friend);
m_linphone_friends
->
removeFriend
(
contact
->
m_linphone_friend
);
contact
->
deleteLater
();
}
...
...
tests/src/components/timeline/TimelineModel.cpp
View file @
5cfa2c8e
...
...
@@ -16,6 +16,7 @@ TimelineModel::TimelineModel (const ContactsListModel *contacts_list) {
init_entries
();
// Invalidate model if a contact is removed.
// Better than compare each sip address.
connect
(
contacts_list
,
&
ContactsListModel
::
rowsRemoved
,
this
,
[
this
](
const
QModelIndex
&
,
int
,
int
)
{
...
...
tests/ui/views/App/MainWindow/Contacts.qml
View file @
5cfa2c8e
...
...
@@ -215,6 +215,16 @@ ColumnLayout {
elide
:
Text
.
ElideRight
font.bold
:
true
text
:
$contact
.
username
MouseArea
{
anchors.fill
:
parent
cursorShape
:
containsMouse
?
Qt
.
PointingHandCursor
:
Qt
.
ArrowCursor
hoverEnabled
:
true
onClicked
:
window
.
setView
(
'
Contact
'
)
}
}
// Container.
...
...
tests/ui/views/App/MainWindow/Conversation.qml
View file @
5cfa2c8e
...
...
@@ -72,7 +72,7 @@ ColumnLayout {
icon
:
'
contact_edit
'
iconSize
:
ConversationStyle
.
bar
.
actions
.
edit
.
iconSize
onClicked
:
console
.
log
(
'
clicked!!!
'
)
// TODO.
onClicked
:
window
.
setView
(
'
Contact
'
)
}
ActionButton
{
...
...
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