diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-10-13 09:52:07 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-10-13 09:52:07 +0200 |
| commit | 7b360cd0a92e2f9f738a573dc3170795c2571d2c (patch) | |
| tree | 1f0f3dca376e5a9c839fff4c814111ebd6384e88 /qml/main.qml | |
| parent | af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d (diff) | |
| download | Multimedia-7b360cd0a92e2f9f738a573dc3170795c2571d2c.tar.gz Multimedia-7b360cd0a92e2f9f738a573dc3170795c2571d2c.zip | |
Perform action on button close pressed
Diffstat (limited to 'qml/main.qml')
| -rw-r--r-- | qml/main.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qml/main.qml b/qml/main.qml index 3e84b29..408fbc6 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -44,6 +44,8 @@ ApplicationWindow { button2.onClicked: messageDialog.show(qsTr("Button 2 pressed")) button3.onClicked: messageDialog.show(qsTr("Button 3 pressed")) + + buttonClose.onClicked: close() } MessageDialog { |
