diff --git a/src/Main.qml b/src/Main.qml index 1644f35..bb202bb 100644 --- a/src/Main.qml +++ b/src/Main.qml @@ -17,6 +17,18 @@ Kirigami.ApplicationWindow { // and provides additional context for the translators title: i18nc("@title:window", "Day countdown") + globalDrawer: Kirigami.GlobalDrawer { + isMenu: true + actions: [ + Kirigami.Action { + text: i18n("Quit") + icon.name: "application-exit-symbolic" + shortcut: StandardKey.Quit + onTriggered: Qt.quit() + } + ] + } + // Set the first page that will be loaded when the app opens // This can also be set to an id of a Kirigami.Page pageStack.initialPage: Kirigami.ScrollablePage {