Adjust Aurorae Menu Button close behavior to KCommonDecoration

See 27b667f49562963ea3f13d5b9dd56ff846feb75a
icc-effect-5.14.5
Martin Gräßlin 2012-03-01 13:33:35 +01:00
parent 292ceee506
commit 2b2976aa20
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ DecorationButton {
}
Timer {
id: timer
interval: decoration.doubleClickInterval
interval: 150
repeat: false
onTriggered: decoration.menuClicked()
}
@ -46,6 +46,7 @@ DecorationButton {
}
onReleased: {
parent.pressed = false;
timer.stop();
}
onExited: {
if (!parent.pressed) {