Updated timer delay amount
This commit is contained in:
parent
2f2b06fb5e
commit
a4ffc56d56
|
@ -22,7 +22,7 @@ ModalPopup {
|
||||||
anchors.leftMargin: Style.current.smallPadding
|
anchors.leftMargin: Style.current.smallPadding
|
||||||
anchors.verticalCenter: linkText.verticalCenter
|
anchors.verticalCenter: linkText.verticalCenter
|
||||||
textToCopy: popup.getStatusText.substr(popup.getStatusText.indexOf("https"))
|
textToCopy: popup.getStatusText.substr(popup.getStatusText.indexOf("https"))
|
||||||
textTooltip: "Copied \"" + popup.getStatusText.substr(popup.getStatusText.indexOf("https")) + "\" to clipboard"
|
textTooltip: qsTr('Copied "%1" to clipboard').arg(popup.getStatusText.substr(popup.getStatusText.indexOf("https")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ Rectangle {
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id:showTimer
|
id:showTimer
|
||||||
interval: 500
|
interval: 300
|
||||||
running: parent.showTooltip && !toolTip.visible
|
running: parent.showTooltip && !toolTip.visible
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
toolTip.visible = true;
|
toolTip.visible = true;
|
||||||
|
@ -65,7 +65,7 @@ Rectangle {
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id:hideTimer
|
id:hideTimer
|
||||||
interval: 1500
|
interval: 2500
|
||||||
running: toolTip.visible
|
running: toolTip.visible
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
toolTip.visible = false;
|
toolTip.visible = false;
|
||||||
|
|
Loading…
Reference in New Issue