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
264a31f6
Commit
264a31f6
authored
Jan 10, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(app): little fixes
parent
dbd41363
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
App.cpp
tests/src/app/App.cpp
+1
-2
Contacts.qml
tests/ui/views/App/MainWindow/Contacts.qml
+15
-12
No files found.
tests/src/app/App.cpp
View file @
264a31f6
...
...
@@ -69,10 +69,9 @@ bool App::hasFocus () const {
// -----------------------------------------------------------------------------
void
App
::
initContentApp
()
{
qInfo
()
<<
"Initializing core manager..."
;
// Init core.
CoreManager
::
init
();
qInfo
()
<<
"Core manager initialized."
;
// Register types and load context properties.
registerTypes
();
...
...
tests/ui/views/App/MainWindow/Contacts.qml
View file @
264a31f6
...
...
@@ -177,6 +177,18 @@ ColumnLayout {
anchors.fill
:
parent
hoverEnabled
:
true
MouseArea
{
anchors.fill
:
parent
cursorShape
:
containsMouse
?
Qt
.
PointingHandCursor
:
Qt
.
ArrowCursor
hoverEnabled
:
true
onClicked
:
window
.
setView
(
'
ContactEdit
'
,
{
sipAddress
:
$contact
.
vcard
.
sipAddresses
[
0
]
// FIXME: Display menu if many addresses.
})
}
RowLayout
{
anchors
{
fill
:
parent
...
...
@@ -193,7 +205,9 @@ ColumnLayout {
}
Text
{
Layout.fillHeight
:
true
Layout.preferredWidth
:
ContactsStyle
.
contact
.
username
.
width
color
:
ContactsStyle
.
contact
.
username
.
color
elide
:
Text
.
ElideRight
...
...
@@ -203,18 +217,7 @@ ColumnLayout {
}
text
:
$contact
.
vcard
.
username
MouseArea
{
anchors.fill
:
parent
cursorShape
:
containsMouse
?
Qt
.
PointingHandCursor
:
Qt
.
ArrowCursor
hoverEnabled
:
true
onClicked
:
window
.
setView
(
'
ContactEdit
'
,
{
sipAddress
:
$contact
.
vcard
.
sipAddresses
[
0
]
// FIXME: Display menu if many addresses.
})
}
verticalAlignment
:
Text
.
AlignVCenter
}
// Container.
...
...
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