From e823c908ea77c93dc2e5b6882f9cc9dba513841b Mon Sep 17 00:00:00 2001
From: Yuri Kunde Schlesner <yuriks@yuriks.net>
Date: Sat, 18 Feb 2017 01:11:57 -0800
Subject: [PATCH] Qt: Fix action name to match conventions

---
 src/citra_qt/main.cpp | 6 +++---
 src/citra_qt/main.ui  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 717552468..20eb1f8ca 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -215,8 +215,8 @@ void GMainWindow::RestoreUIState() {
     ui.action_Single_Window_Mode->setChecked(UISettings::values.single_window_mode);
     ToggleWindowMode();
 
-    ui.actionDisplay_widget_title_bars->setChecked(UISettings::values.display_titlebar);
-    OnDisplayTitleBars(ui.actionDisplay_widget_title_bars->isChecked());
+    ui.action_Display_Dock_Widget_Headers->setChecked(UISettings::values.display_titlebar);
+    OnDisplayTitleBars(ui.action_Display_Dock_Widget_Headers->isChecked());
 }
 
 void GMainWindow::ConnectWidgetEvents() {
@@ -612,7 +612,7 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
     UISettings::values.microprofile_visible = microProfileDialog->isVisible();
 #endif
     UISettings::values.single_window_mode = ui.action_Single_Window_Mode->isChecked();
-    UISettings::values.display_titlebar = ui.actionDisplay_widget_title_bars->isChecked();
+    UISettings::values.display_titlebar = ui.action_Display_Dock_Widget_Headers->isChecked();
     UISettings::values.first_start = false;
 
     game_list->SaveInterfaceLayout();
diff --git a/src/citra_qt/main.ui b/src/citra_qt/main.ui
index adfa3689e..dfc424175 100644
--- a/src/citra_qt/main.ui
+++ b/src/citra_qt/main.ui
@@ -80,7 +80,7 @@
      <string>&amp;View</string>
     </property>
     <addaction name="action_Single_Window_Mode"/>
-    <addaction name="actionDisplay_widget_title_bars"/>
+    <addaction name="action_Display_Dock_Widget_Headers"/>
    </widget>
    <widget class="QMenu" name="menu_Help">
     <property name="title">
@@ -151,7 +151,7 @@
     <string>Configure...</string>
    </property>
   </action>
-  <action name="actionDisplay_widget_title_bars">
+  <action name="action_Display_Dock_Widget_Headers">
    <property name="checkable">
     <bool>true</bool>
    </property>
@@ -187,7 +187,7 @@
    </hints>
   </connection>
   <connection>
-   <sender>actionDisplay_widget_title_bars</sender>
+   <sender>action_Display_Dock_Widget_Headers</sender>
    <signal>triggered(bool)</signal>
    <receiver>MainWindow</receiver>
    <slot>OnDisplayTitleBars(bool)</slot>