diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 5c849925..eb96af7c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1107,3 +1107,8 @@ void MainWindow::on_actionReset_settings_triggered() settings.clear(); } } + +void MainWindow::on_actionQuit_triggered() +{ + close(); +} diff --git a/src/mainwindow.h b/src/mainwindow.h index 0786d406..b2f5631b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -186,6 +186,8 @@ private slots: void on_actionReset_settings_triggered(); + void on_actionQuit_triggered(); + private: void refreshFlagspaces(); bool doLock; diff --git a/src/mainwindow.ui b/src/mainwindow.ui index bbb58208..4e29d6b7 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -347,6 +347,7 @@ QToolButton { /* all types of tool button */ + @@ -1087,6 +1088,14 @@ background: rgb(64, 64, 64); Reset settings + + + Quit + + + Ctrl+Q + +