mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-23 08:13:51 +02:00
settings: remove link device timeout
Change-Id: I9dbbd779ef094d4dbcd5568bd5aae2d73dd3efe7 Gitlab: #258
This commit is contained in:
parent
8ac920a707
commit
997d413ee1
1 changed files with 2 additions and 21 deletions
|
@ -53,11 +53,6 @@ BaseDialog {
|
||||||
timerForExport.restart()
|
timerForExport.restart()
|
||||||
}
|
}
|
||||||
|
|
||||||
function slotExportOnRing(){
|
|
||||||
AccountAdapter.model.exportOnRing(AccountAdapter.currentAccountId,
|
|
||||||
passwordEdit.text)
|
|
||||||
}
|
|
||||||
|
|
||||||
Timer{
|
Timer{
|
||||||
id: timerForExport
|
id: timerForExport
|
||||||
|
|
||||||
|
@ -65,24 +60,12 @@ BaseDialog {
|
||||||
interval: 200
|
interval: 200
|
||||||
|
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
timeOut.restart()
|
AccountAdapter.model.exportOnRing(AccountAdapter.currentAccountId,
|
||||||
slotExportOnRing()
|
passwordEdit.text)
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Timer {
|
|
||||||
id: timeOut
|
|
||||||
|
|
||||||
repeat: false
|
|
||||||
interval: exportTimeout
|
|
||||||
|
|
||||||
onTriggered: {
|
|
||||||
setExportPage(NameDirectory.ExportOnRingStatus.NETWORK_ERROR, "")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setExportPage(status, pin) {
|
function setExportPage(status, pin) {
|
||||||
timeOut.stop()
|
|
||||||
|
|
||||||
if (status === NameDirectory.ExportOnRingStatus.SUCCESS) {
|
if (status === NameDirectory.ExportOnRingStatus.SUCCESS) {
|
||||||
infoLabel.success = true
|
infoLabel.success = true
|
||||||
|
@ -115,8 +98,6 @@ BaseDialog {
|
||||||
|
|
||||||
signal accepted
|
signal accepted
|
||||||
|
|
||||||
property int exportTimeout : 20000
|
|
||||||
|
|
||||||
title: JamiStrings.addDevice
|
title: JamiStrings.addDevice
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
|
|
Loading…
Add table
Reference in a new issue