fix(MainWindow/Contacts): call correctly setView with contact parameter

This commit is contained in:
Ronan Abhamon 2016-11-10 14:28:39 +01:00
parent a9d8d97032
commit 26e16ba586
2 changed files with 8 additions and 4 deletions

View file

@ -155,7 +155,9 @@ ColumnLayout {
ActionButton {
icon: 'chat'
onClicked: window.setView('Conversation')
onClicked: window.setView('Conversation', {
contact: $contact
})
}
}

View file

@ -39,9 +39,11 @@ ApplicationWindow {
height: MainWindowStyle.toolBar.height
RowLayout {
anchors.fill: parent
anchors.leftMargin: MainWindowStyle.toolBar.leftMargin
anchors.rightMargin: MainWindowStyle.toolBar.rightMargin
anchors {
fill: parent
leftMargin: MainWindowStyle.toolBar.leftMargin
rightMargin: MainWindowStyle.toolBar.rightMargin
}
spacing: MainWindowStyle.toolBar.spacing
Collapse {