summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-18 11:30:29 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-02-18 11:30:29 +0100
commit80762583c29af1ae256ef507f2a21740cf2d9f48 (patch)
treeb9d12acbd3b0df19fcfa628fc888c170474d93b7 /src/citra_qt/main.cpp
parentQt: Reorganize connection of menu events (diff)
downloadyuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar
yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.gz
yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.bz2
yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.lz
yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.xz
yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.zst
yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 05709fcb0..513da8001 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -248,6 +248,7 @@ void GMainWindow::ConnectMenuEvents() {
&GMainWindow::OnMenuLoadSymbolMap);
connect(ui.action_Select_Game_List_Root, &QAction::triggered, this,
&GMainWindow::OnMenuSelectGameListRoot);
+ connect(ui.action_Exit, &QAction::triggered, this, &QMainWindow::close);
// Emulation
connect(ui.action_Start, &QAction::triggered, this, &GMainWindow::OnStartGame);
@@ -258,6 +259,8 @@ void GMainWindow::ConnectMenuEvents() {
// View
connect(ui.action_Single_Window_Mode, &QAction::triggered, this,
&GMainWindow::ToggleWindowMode);
+ connect(ui.action_Display_Dock_Widget_Headers, &QAction::triggered, this,
+ &GMainWindow::OnDisplayTitleBars);
}
void GMainWindow::OnDisplayTitleBars(bool show) {