summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2025-10-15 16:35:26 -0400
committerGitHub <noreply@github.com>2025-10-15 16:35:26 -0400
commite8d9c124e5290c9c02c16d83583ce82b4e57c0f2 (patch)
tree175707eebb24aa3687ec8bf2b266ed475e46bc50 /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
parent952f2cae809a9425d184fad79075d7ad41a2b20c (diff)
parentfcb3d2fb0594f940c8325ee1e3284be053b3c8f3 (diff)
Merge pull request #13953 from TryTwo/add_osd_tab
Qt Settings: Transfer OSD settings to a new OSD pane.
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp20
1 files changed, 1 insertions, 19 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
index 15d25167dc..f2004ff2c4 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -108,22 +108,15 @@ void GeneralWidget::CreateWidgets()
auto* m_options_box = new QGroupBox(tr("Other"));
auto* m_options_layout = new QGridLayout();
- m_show_ping =
- new ConfigBool(tr("Show NetPlay Ping"), Config::GFX_SHOW_NETPLAY_PING, m_game_layer);
m_autoadjust_window_size = new ConfigBool(tr("Auto-Adjust Window Size"),
Config::MAIN_RENDER_WINDOW_AUTOSIZE, m_game_layer);
- m_show_messages =
- new ConfigBool(tr("Show NetPlay Messages"), Config::GFX_SHOW_NETPLAY_MESSAGES, m_game_layer);
m_render_main_window =
new ConfigBool(tr("Render to Main Window"), Config::MAIN_RENDER_TO_MAIN, m_game_layer);
m_options_box->setLayout(m_options_layout);
m_options_layout->addWidget(m_render_main_window, 0, 0);
- m_options_layout->addWidget(m_autoadjust_window_size, 1, 0);
-
- m_options_layout->addWidget(m_show_messages, 0, 1);
- m_options_layout->addWidget(m_show_ping, 1, 1);
+ m_options_layout->addWidget(m_autoadjust_window_size, 0, 1);
// Other
auto* shader_compilation_box = new QGroupBox(tr("Shader Compilation"));
@@ -268,13 +261,6 @@ void GeneralWidget::AddDescriptions()
"if emulation speed is below 100%.<br><br><dolphin_emphasis>If unsure, leave "
"this "
"unchecked.</dolphin_emphasis>");
- static const char TR_SHOW_NETPLAY_PING_DESCRIPTION[] = QT_TR_NOOP(
- "Shows the player's maximum ping while playing on "
- "NetPlay.<br><br><dolphin_emphasis>If unsure, leave this unchecked.</dolphin_emphasis>");
- static const char TR_SHOW_NETPLAY_MESSAGES_DESCRIPTION[] =
- QT_TR_NOOP("Shows chat messages, buffer changes, and desync alerts "
- "while playing NetPlay.<br><br><dolphin_emphasis>If unsure, leave "
- "this unchecked.</dolphin_emphasis>");
static const char TR_SHADER_COMPILE_SPECIALIZED_DESCRIPTION[] =
QT_TR_NOOP("Ubershaders are never used. Stuttering will occur during shader "
"compilation, but GPU demands are low.<br><br>Recommended for low-end hardware. "
@@ -320,12 +306,8 @@ void GeneralWidget::AddDescriptions()
m_enable_fullscreen->SetDescription(tr(TR_FULLSCREEN_DESCRIPTION));
- m_show_ping->SetDescription(tr(TR_SHOW_NETPLAY_PING_DESCRIPTION));
-
m_autoadjust_window_size->SetDescription(tr(TR_AUTOSIZE_DESCRIPTION));
- m_show_messages->SetDescription(tr(TR_SHOW_NETPLAY_MESSAGES_DESCRIPTION));
-
m_render_main_window->SetDescription(tr(TR_RENDER_TO_MAINWINDOW_DESCRIPTION));
m_shader_compilation_mode[0]->SetDescription(tr(TR_SHADER_COMPILE_SPECIALIZED_DESCRIPTION));