Index: sources/gui/qml/dialogs/PowerOff.qml =================================================================== diff -u -r6cad9b004e904200b71de7431c745795256080df -r73091a6f5717c0fc88e236c06c618ad361f30a3c --- sources/gui/qml/dialogs/PowerOff.qml (.../PowerOff.qml) (revision 6cad9b004e904200b71de7431c745795256080df) +++ sources/gui/qml/dialogs/PowerOff.qml (.../PowerOff.qml) (revision 73091a6f5717c0fc88e236c06c618ad361f30a3c) @@ -36,14 +36,14 @@ } TouchRect { id : _shutdownRect text.text: qsTr("SHUTDOWN") - button.onPressed: { + onPressed: { accepted() close() } } TouchRect { id : _cancelTouch text.text: qsTr("CANCEL") - button.onPressed: { + onPressed: { rejected() close() }