summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2020-10-17 00:05:43 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2020-11-28 11:49:14 -0600
commita9271aa167f0fca3780bdad32b682cb964db116f (patch)
tree3aa0ea1c3b1a0d8a9ea9bdc136ddb2bafe22a9b7 /Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp
parentaf0161cafdb5044d46814ab64ac5b7fb82e8c343 (diff)
DolphinQt: Add the ability to show a tooltip for custom graphics controls
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp b/Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp
index eb15527b71..2a8d2b5205 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GraphicsRadio.cpp
@@ -12,7 +12,7 @@
GraphicsRadioInt::GraphicsRadioInt(const QString& label, const Config::Info<int>& setting,
int value)
- : QRadioButton(label), m_setting(setting), m_value(value)
+ : ToolTipRadioButton(label), m_setting(setting), m_value(value)
{
setChecked(Config::Get(m_setting) == m_value);
connect(this, &QRadioButton::toggled, this, &GraphicsRadioInt::Update);