mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-14 14:02:30 -05:00
DolphinQt: Add the ability to show a tooltip for custom graphics controls
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user