mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 13:05:45 -04:00
Qt: Use click event rather than pressed to rebind
This commit is contained in:
@ -16,7 +16,7 @@ InputBindingWidget::InputBindingWidget(QtHostInterface* host_interface, QString
|
|||||||
setMinimumWidth(150);
|
setMinimumWidth(150);
|
||||||
setMaximumWidth(150);
|
setMaximumWidth(150);
|
||||||
|
|
||||||
connect(this, &QPushButton::pressed, this, &InputBindingWidget::onPressed);
|
connect(this, &QPushButton::clicked, this, &InputBindingWidget::onClicked);
|
||||||
}
|
}
|
||||||
|
|
||||||
InputBindingWidget::~InputBindingWidget()
|
InputBindingWidget::~InputBindingWidget()
|
||||||
@ -83,7 +83,7 @@ void InputBindingWidget::reloadBinding()
|
|||||||
setText(m_current_binding_value);
|
setText(m_current_binding_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputBindingWidget::onPressed()
|
void InputBindingWidget::onClicked()
|
||||||
{
|
{
|
||||||
if (isListeningForInput())
|
if (isListeningForInput())
|
||||||
stopListeningForInput();
|
stopListeningForInput();
|
||||||
|
Reference in New Issue
Block a user