summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/main.cpp3
-rw-r--r--src/citra_qt/main.ui38
2 files changed, 3 insertions, 38 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
263void GMainWindow::OnDisplayTitleBars(bool show) { 266void GMainWindow::OnDisplayTitleBars(bool show) {
diff --git a/src/citra_qt/main.ui b/src/citra_qt/main.ui
index fba493a84..4a95cda9a 100644
--- a/src/citra_qt/main.ui
+++ b/src/citra_qt/main.ui
@@ -182,42 +182,4 @@
182 </action> 182 </action>
183 </widget> 183 </widget>
184 <resources/> 184 <resources/>
185 <connections>
186 <connection>
187 <sender>action_Exit</sender>
188 <signal>triggered()</signal>
189 <receiver>MainWindow</receiver>
190 <slot>close()</slot>
191 <hints>
192 <hint type="sourcelabel">
193 <x>-1</x>
194 <y>-1</y>
195 </hint>
196 <hint type="destinationlabel">
197 <x>367</x>
198 <y>314</y>
199 </hint>
200 </hints>
201 </connection>
202 <connection>
203 <sender>action_Display_Dock_Widget_Headers</sender>
204 <signal>triggered(bool)</signal>
205 <receiver>MainWindow</receiver>
206 <slot>OnDisplayTitleBars(bool)</slot>
207 <hints>
208 <hint type="sourcelabel">
209 <x>-1</x>
210 <y>-1</y>
211 </hint>
212 <hint type="destinationlabel">
213 <x>540</x>
214 <y>364</y>
215 </hint>
216 </hints>
217 </connection>
218 </connections>
219 <slots>
220 <slot>OnConfigure()</slot>
221 <slot>OnDisplayTitleBars(bool)</slot>
222 </slots>
223</ui> 185</ui>