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);
|
||||
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();
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
<string>&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>
|
||||
|
|
Reference in New Issue