From b675e49c0e90afd7f1c346b91482359b1e20fc90 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 26 Dec 2022 14:20:06 -0800 Subject: [PATCH 1/2] AdvancedWidget: Add title for performance sample window tooltip --- Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp index dc104944f1..d249986f4b 100644 --- a/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp @@ -58,6 +58,7 @@ void AdvancedWidget::CreateWidgets() m_show_speed = new GraphicsBool(tr("Show % Speed"), Config::GFX_SHOW_SPEED); m_show_speed_colors = new GraphicsBool(tr("Show Speed Colors"), Config::GFX_SHOW_SPEED_COLORS); m_perf_samp_window = new GraphicsInteger(0, 10000, Config::GFX_PERF_SAMP_WINDOW, 100); + m_perf_samp_window->SetTitle(tr("Performance Sample Window (ms)")); m_log_render_time = new GraphicsBool(tr("Log Render Time to File"), Config::GFX_LOG_RENDER_TIME_TO_FILE); From 4e05c569d436997c293e9a2a625b6e68042adca0 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 26 Dec 2022 14:28:48 -0800 Subject: [PATCH 2/2] AdvancedWidget: Fix typo in performance sample window tooltip --- Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp index d249986f4b..44dbe30487 100644 --- a/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp @@ -275,7 +275,7 @@ void AdvancedWidget::AddDescriptions() static const char TR_PERF_SAMP_WINDOW_DESCRIPTION[] = QT_TR_NOOP("The amount of time the FPS and VPS counters will sample over." "

The higher the value, the more stable the FPS/VPS counter will be, " - "but the slower it will be slower to update." + "but the slower it will be to update." "

If unsure, leave this " "at 1000ms."); static const char TR_LOG_RENDERTIME_DESCRIPTION[] = QT_TR_NOOP(