mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
fix(app): little fixes
This commit is contained in:
parent
dbd413631f
commit
264a31f646
2 changed files with 16 additions and 14 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue