mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
GUI: Tooltips for mouse hide if idle and resize on boot
The original commits for the mouse hide on idle included definitions for tooltips, but didn't assign them correctly. This fixes that up, so that tooltips exist. And the resize height / width settings didn't have any tooltip applied. So this extends the current resize setting tooltip to also trigger on the height / width hover (at least indicating that they are associated with this setting).
This commit is contained in:
parent
610e71b71b
commit
875e252db3
@ -1246,9 +1246,13 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||
if (!game)
|
||||
{
|
||||
SubscribeTooltip(ui->gs_resizeOnBoot, tooltips.settings.resize_on_boot);
|
||||
SubscribeTooltip(ui->gb_gs_height, tooltips.settings.resize_on_boot);
|
||||
SubscribeTooltip(ui->gb_gs_width, tooltips.settings.resize_on_boot);
|
||||
SubscribeTooltip(ui->gs_disableMouse, tooltips.settings.disable_mouse);
|
||||
SubscribeTooltip(ui->gs_disableKbHotkeys, tooltips.settings.disable_kb_hotkeys);
|
||||
SubscribeTooltip(ui->gs_showMouseInFullscreen, tooltips.settings.show_mouse_in_fullscreen);
|
||||
SubscribeTooltip(ui->gs_hideMouseOnIdle, tooltips.settings.hide_mouse_on_idle);
|
||||
SubscribeTooltip(ui->gs_hideMouseOnIdleTime, tooltips.settings.hide_mouse_on_idle);
|
||||
|
||||
ui->gs_disableMouse->setChecked(m_gui_settings->GetValue(gui::gs_disableMouse).toBool());
|
||||
connect(ui->gs_disableMouse, &QCheckBox::clicked, [this](bool val)
|
||||
|
Loading…
Reference in New Issue
Block a user