mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-09 03:23:08 +02:00
misc: issue fixes for LinkedDevices view
1. Use correct model for calling revokeDevice 2. Fix RevokeDevicePasswordDialog background color Change-Id: I0056bcde8012d76a9010c6ba95f93a8cb8bffc2e
This commit is contained in:
parent
be6c917c5d
commit
1ab4edb6cc
2 changed files with 3 additions and 2 deletions
|
@ -61,7 +61,7 @@ ColumnLayout {
|
|||
RevokeDevicePasswordDialog{
|
||||
id: revokeDevicePasswordDialog
|
||||
|
||||
onRevokeDeviceWithPassword: deviceItemListModel.revokeDevice(idOfDevice, password)
|
||||
onRevokeDeviceWithPassword: deviceItemListModel.sourceModel.revokeDevice(idOfDevice, password)
|
||||
}
|
||||
|
||||
SimpleMessageDialog {
|
||||
|
@ -75,7 +75,7 @@ ColumnLayout {
|
|||
buttonTitles: [JamiStrings.optionOk, JamiStrings.optionCancel]
|
||||
buttonStyles: [SimpleMessageDialog.ButtonStyle.TintedBlue,
|
||||
SimpleMessageDialog.ButtonStyle.TintedBlack]
|
||||
buttonCallBacks: [function() {deviceItemListModel.revokeDevice(idOfDev, "")}]
|
||||
buttonCallBacks: [function() {deviceItemListModel.sourceModel.revokeDevice(idOfDev, "")}]
|
||||
}
|
||||
|
||||
Label {
|
||||
|
|
|
@ -43,6 +43,7 @@ BaseDialog {
|
|||
contentItem: Rectangle {
|
||||
id: revokeDeviceContentRect
|
||||
|
||||
color: JamiTheme.secondaryBackgroundColor
|
||||
implicitWidth: JamiTheme.preferredDialogWidth
|
||||
implicitHeight: JamiTheme.preferredDialogHeight
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue