diff options
| author | 2017-02-18 02:30:29 -0800 | |
|---|---|---|
| committer | 2017-02-18 02:30:29 -0800 | |
| commit | 80762583c29af1ae256ef507f2a21740cf2d9f48 (patch) | |
| tree | b9d12acbd3b0df19fcfa628fc888c170474d93b7 /src/citra_qt/main.cpp | |
| parent | Qt: Reorganize connection of menu events (diff) | |
| download | yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.gz yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.tar.xz yuzu-80762583c29af1ae256ef507f2a21740cf2d9f48.zip | |
Qt: Move some connections from .ui file to code
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 3 |
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() { | |||
| 248 | &GMainWindow::OnMenuLoadSymbolMap); | 248 | &GMainWindow::OnMenuLoadSymbolMap); |
| 249 | connect(ui.action_Select_Game_List_Root, &QAction::triggered, this, | 249 | connect(ui.action_Select_Game_List_Root, &QAction::triggered, this, |
| 250 | &GMainWindow::OnMenuSelectGameListRoot); | 250 | &GMainWindow::OnMenuSelectGameListRoot); |
| 251 | connect(ui.action_Exit, &QAction::triggered, this, &QMainWindow::close); | ||
| 251 | 252 | ||
| 252 | // Emulation | 253 | // Emulation |
| 253 | connect(ui.action_Start, &QAction::triggered, this, &GMainWindow::OnStartGame); | 254 | connect(ui.action_Start, &QAction::triggered, this, &GMainWindow::OnStartGame); |
| @@ -258,6 +259,8 @@ void GMainWindow::ConnectMenuEvents() { | |||
| 258 | // View | 259 | // View |
| 259 | connect(ui.action_Single_Window_Mode, &QAction::triggered, this, | 260 | connect(ui.action_Single_Window_Mode, &QAction::triggered, this, |
| 260 | &GMainWindow::ToggleWindowMode); | 261 | &GMainWindow::ToggleWindowMode); |
| 262 | connect(ui.action_Display_Dock_Widget_Headers, &QAction::triggered, this, | ||
| 263 | &GMainWindow::OnDisplayTitleBars); | ||
| 261 | } | 264 | } |
| 262 | 265 | ||
| 263 | void GMainWindow::OnDisplayTitleBars(bool show) { | 266 | void GMainWindow::OnDisplayTitleBars(bool show) { |