diff --git a/src/qml/main.qml b/src/qml/main.qml index 27f892afa31633b2e4eaefaca01502c5dfb6c7b4..03e6d184c68b16d7824613ec93a7f2775cd5d13a 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -32,8 +32,12 @@ Window { text: '' informativeText: '' detailedText: '' - standardButtons: StandardButton.Ok - onAccepted: Qt.quit() + standardButtons: StandardButton.Open | StandardButton.Close + onAccepted: { + xdgUrlHandler.openDestination(); + Qt.quit(); + } + onRejected: Qt.quit() } MessageDialog {