mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
fix: set use ListViewJami in contact and plugin pickers
Change-Id: Ia5258e115055c44091a1d20186878d6b35e023f5
This commit is contained in:
parent
b420ca3a20
commit
9e40648b8e
2 changed files with 6 additions and 7 deletions
|
@ -115,12 +115,13 @@ Popup {
|
|||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
ListViewJami {
|
||||
id: contactPickerListView
|
||||
|
||||
Layout.alignment: Qt.AlignCenter
|
||||
Layout.preferredWidth: contactPickerPopupRect.width
|
||||
Layout.preferredHeight: 200
|
||||
border.width: 0
|
||||
|
||||
model: ContactAdapter.getContactSelectableModel(type)
|
||||
|
||||
|
@ -129,8 +130,6 @@ Popup {
|
|||
delegate: ContactPickerItemDelegate {
|
||||
id: contactPickerItemDelegate
|
||||
}
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -124,12 +124,13 @@ Popup {
|
|||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
ListViewJami {
|
||||
id: pluginhandlerPickerListView
|
||||
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
border.width: 0
|
||||
|
||||
model: {
|
||||
if (isCall) {
|
||||
|
@ -243,7 +244,7 @@ Popup {
|
|||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
ListViewJami {
|
||||
id: pluginhandlerPreferencePickerListView
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.fillWidth: true
|
||||
|
@ -253,6 +254,7 @@ Popup {
|
|||
property string handlerName: ""
|
||||
|
||||
model: PluginAdapter.getHandlerPreferencesModel(pluginId, handlerName)
|
||||
border.width: 0
|
||||
|
||||
clip: true
|
||||
|
||||
|
@ -287,8 +289,6 @@ Popup {
|
|||
pluginhandlerPreferencePickerListView.model = PluginAdapter.getHandlerPreferencesModel(pluginId, pluginhandlerPreferencePickerListView.handlerName)
|
||||
}
|
||||
}
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue