mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +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{
|
RevokeDevicePasswordDialog{
|
||||||
id: revokeDevicePasswordDialog
|
id: revokeDevicePasswordDialog
|
||||||
|
|
||||||
onRevokeDeviceWithPassword: deviceItemListModel.revokeDevice(idOfDevice, password)
|
onRevokeDeviceWithPassword: deviceItemListModel.sourceModel.revokeDevice(idOfDevice, password)
|
||||||
}
|
}
|
||||||
|
|
||||||
SimpleMessageDialog {
|
SimpleMessageDialog {
|
||||||
|
@ -75,7 +75,7 @@ ColumnLayout {
|
||||||
buttonTitles: [JamiStrings.optionOk, JamiStrings.optionCancel]
|
buttonTitles: [JamiStrings.optionOk, JamiStrings.optionCancel]
|
||||||
buttonStyles: [SimpleMessageDialog.ButtonStyle.TintedBlue,
|
buttonStyles: [SimpleMessageDialog.ButtonStyle.TintedBlue,
|
||||||
SimpleMessageDialog.ButtonStyle.TintedBlack]
|
SimpleMessageDialog.ButtonStyle.TintedBlack]
|
||||||
buttonCallBacks: [function() {deviceItemListModel.revokeDevice(idOfDev, "")}]
|
buttonCallBacks: [function() {deviceItemListModel.sourceModel.revokeDevice(idOfDev, "")}]
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
|
|
@ -43,6 +43,7 @@ BaseDialog {
|
||||||
contentItem: Rectangle {
|
contentItem: Rectangle {
|
||||||
id: revokeDeviceContentRect
|
id: revokeDeviceContentRect
|
||||||
|
|
||||||
|
color: JamiTheme.secondaryBackgroundColor
|
||||||
implicitWidth: JamiTheme.preferredDialogWidth
|
implicitWidth: JamiTheme.preferredDialogWidth
|
||||||
implicitHeight: JamiTheme.preferredDialogHeight
|
implicitHeight: JamiTheme.preferredDialogHeight
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue