citra-emu
/
citra
Archived
1
0
Fork 0

Qt: Fix action name to match conventions

This commit is contained in:
Yuri Kunde Schlesner 2017-02-18 01:11:57 -08:00
parent 23bb870046
commit e823c908ea
2 changed files with 6 additions and 6 deletions

View File

@ -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();

View File

@ -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>