mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
MappingButton: don't set text twice in constructor
This commit is contained in:
parent
07c90bed08
commit
b378ffb4ec
@ -19,7 +19,6 @@
|
|||||||
MappingButton::MappingButton(MappingWidget* widget, ControlReference* ref)
|
MappingButton::MappingButton(MappingWidget* widget, ControlReference* ref)
|
||||||
: QPushButton(QString::fromStdString(ref->expression)), m_parent(widget), m_reference(ref)
|
: QPushButton(QString::fromStdString(ref->expression)), m_parent(widget), m_reference(ref)
|
||||||
{
|
{
|
||||||
setText(QString::fromStdString(m_reference->expression));
|
|
||||||
Connect();
|
Connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user