mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-15 04:55:23 +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()
|
||||
}
|
||||
|
||||
function slotExportOnRing(){
|
||||
AccountAdapter.model.exportOnRing(AccountAdapter.currentAccountId,
|
||||
passwordEdit.text)
|
||||
}
|
||||
|
||||
Timer{
|
||||
id: timerForExport
|
||||
|
||||
|
@ -65,24 +60,12 @@ BaseDialog {
|
|||
interval: 200
|
||||
|
||||
onTriggered: {
|
||||
timeOut.restart()
|
||||
slotExportOnRing()
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: timeOut
|
||||
|
||||
repeat: false
|
||||
interval: exportTimeout
|
||||
|
||||
onTriggered: {
|
||||
setExportPage(NameDirectory.ExportOnRingStatus.NETWORK_ERROR, "")
|
||||
AccountAdapter.model.exportOnRing(AccountAdapter.currentAccountId,
|
||||
passwordEdit.text)
|
||||
}
|
||||
}
|
||||
|
||||
function setExportPage(status, pin) {
|
||||
timeOut.stop()
|
||||
|
||||
if (status === NameDirectory.ExportOnRingStatus.SUCCESS) {
|
||||
infoLabel.success = true
|
||||
|
@ -115,8 +98,6 @@ BaseDialog {
|
|||
|
||||
signal accepted
|
||||
|
||||
property int exportTimeout : 20000
|
||||
|
||||
title: JamiStrings.addDevice
|
||||
|
||||
Connections {
|
||||
|
|
Loading…
Add table
Reference in a new issue