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
4fa94882
Commit
4fa94882
authored
May 16, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ui/views/App/Main/Contacts): use correctly `SipAddressesMenu`
parent
44bb52b6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
SipAddressesMenu.qml
...ne-desktop/ui/modules/Linphone/Menus/SipAddressesMenu.qml
+4
-6
Contacts.qml
linphone-desktop/ui/views/App/Main/Contacts.qml
+3
-3
No files found.
linphone-desktop/ui/modules/Linphone/Menus/SipAddressesMenu.qml
View file @
4fa94882
...
...
@@ -10,7 +10,6 @@ Item {
// ---------------------------------------------------------------------------
property
alias
launcher
:
menu
.
launcher
property
alias
relativeTo
:
menu
.
relativeTo
property
alias
relativeX
:
menu
.
relativeX
property
alias
relativeY
:
menu
.
relativeY
...
...
@@ -19,7 +18,7 @@ Item {
// ---------------------------------------------------------------------------
function
show
Menu
()
{
function
show
()
{
var
length
=
sipAddresses
.
length
if
(
!
length
)
{
return
...
...
@@ -29,7 +28,7 @@ Item {
return
sipAddressesMenu
.
sipAddressClicked
(
sipAddresses
[
0
])
}
menu
.
show
Menu
()
menu
.
show
()
}
function
_fillModel
()
{
...
...
@@ -57,13 +56,12 @@ Item {
entryHeight
:
SipAddressesMenuStyle
.
entry
.
height
maxMenuHeight
:
SipAddressesMenuStyle
.
maxHeight
width
:
SipAddressesMenuStyle
.
entry
.
width
ScrollableListView
{
id
:
list
anchors.fill
:
parent
spacing
:
SipAddressesMenuStyle
.
spacing
width
:
SipAddressesMenuStyle
.
entry
.
width
model
:
ListModel
{
id
:
model
...
...
@@ -106,7 +104,7 @@ Item {
hoverEnabled
:
true
onClicked
:
{
menu
.
hide
Menu
()
menu
.
hide
()
sipAddressesMenu
.
sipAddressClicked
(
$sipAddress
)
}
}
...
...
linphone-desktop/ui/views/App/Main/Contacts.qml
View file @
4fa94882
...
...
@@ -132,17 +132,17 @@ ColumnLayout {
ActionButton
{
icon
:
'
video_call
'
onClicked
:
actions
.
itemAt
(
0
).
show
Menu
()
onClicked
:
actions
.
itemAt
(
0
).
show
()
}
ActionButton
{
icon
:
'
call
'
onClicked
:
actions
.
itemAt
(
1
).
show
Menu
()
onClicked
:
actions
.
itemAt
(
1
).
show
()
}
ActionButton
{
icon
:
'
chat
'
onClicked
:
actions
.
itemAt
(
2
).
show
Menu
()
onClicked
:
actions
.
itemAt
(
2
).
show
()
}
}
...
...
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