From 875e252db33bb77f85fbd8f330dad83dccaee038 Mon Sep 17 00:00:00 2001 From: Bevan Weiss Date: Thu, 3 Sep 2020 18:10:35 +1000 Subject: [PATCH] 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). --- rpcs3/rpcs3qt/settings_dialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 3d223922a0..87db343062 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -1246,9 +1246,13 @@ settings_dialog::settings_dialog(std::shared_ptr 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)