Commit 997d413e authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Sébastien Blin

settings: remove link device timeout

Change-Id: I9dbbd779ef094d4dbcd5568bd5aae2d73dd3efe7
Gitlab: #258
parent 8ac920a7
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment