DolphinQt: Fix tooltip of output mapping buttons.
This commit is contained in:
parent
1bdf43dd78
commit
32cf4b76be
|
@ -53,8 +53,15 @@ MappingButton::MappingButton(MappingWidget* parent, ControlReference* ref, bool
|
||||||
|
|
||||||
setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
|
setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
|
||||||
|
|
||||||
|
if (IsInput())
|
||||||
|
{
|
||||||
setToolTip(
|
setToolTip(
|
||||||
tr("Left-click to detect input.\nMiddle-click to clear.\nRight-click for more options."));
|
tr("Left-click to detect input.\nMiddle-click to clear.\nRight-click for more options."));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
setToolTip(tr("Left/Right-click to configure output.\nMiddle-click to clear."));
|
||||||
|
}
|
||||||
|
|
||||||
connect(this, &MappingButton::clicked, this, &MappingButton::Clicked);
|
connect(this, &MappingButton::clicked, this, &MappingButton::Clicked);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue