mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 11:10:04 +00:00
Qt: Fix action name to match conventions
This commit is contained in:
parent
23bb870046
commit
e823c908ea
@ -215,8 +215,8 @@ void GMainWindow::RestoreUIState() {
|
|||||||
ui.action_Single_Window_Mode->setChecked(UISettings::values.single_window_mode);
|
ui.action_Single_Window_Mode->setChecked(UISettings::values.single_window_mode);
|
||||||
ToggleWindowMode();
|
ToggleWindowMode();
|
||||||
|
|
||||||
ui.actionDisplay_widget_title_bars->setChecked(UISettings::values.display_titlebar);
|
ui.action_Display_Dock_Widget_Headers->setChecked(UISettings::values.display_titlebar);
|
||||||
OnDisplayTitleBars(ui.actionDisplay_widget_title_bars->isChecked());
|
OnDisplayTitleBars(ui.action_Display_Dock_Widget_Headers->isChecked());
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::ConnectWidgetEvents() {
|
void GMainWindow::ConnectWidgetEvents() {
|
||||||
@ -612,7 +612,7 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
|
|||||||
UISettings::values.microprofile_visible = microProfileDialog->isVisible();
|
UISettings::values.microprofile_visible = microProfileDialog->isVisible();
|
||||||
#endif
|
#endif
|
||||||
UISettings::values.single_window_mode = ui.action_Single_Window_Mode->isChecked();
|
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;
|
UISettings::values.first_start = false;
|
||||||
|
|
||||||
game_list->SaveInterfaceLayout();
|
game_list->SaveInterfaceLayout();
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
<string>&View</string>
|
<string>&View</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="action_Single_Window_Mode"/>
|
<addaction name="action_Single_Window_Mode"/>
|
||||||
<addaction name="actionDisplay_widget_title_bars"/>
|
<addaction name="action_Display_Dock_Widget_Headers"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menu_Help">
|
<widget class="QMenu" name="menu_Help">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@ -151,7 +151,7 @@
|
|||||||
<string>Configure...</string>
|
<string>Configure...</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDisplay_widget_title_bars">
|
<action name="action_Display_Dock_Widget_Headers">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@ -187,7 +187,7 @@
|
|||||||
</hints>
|
</hints>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>actionDisplay_widget_title_bars</sender>
|
<sender>action_Display_Dock_Widget_Headers</sender>
|
||||||
<signal>triggered(bool)</signal>
|
<signal>triggered(bool)</signal>
|
||||||
<receiver>MainWindow</receiver>
|
<receiver>MainWindow</receiver>
|
||||||
<slot>OnDisplayTitleBars(bool)</slot>
|
<slot>OnDisplayTitleBars(bool)</slot>
|
||||||
|
Loading…
Reference in New Issue
Block a user