mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-21 01:45:41 -04:00
Qt: Fix saved language setting
This commit is contained in:
@ -162,8 +162,8 @@ void ControllerBindingWidget::onAutomaticBindingClicked()
|
||||
void ControllerBindingWidget::onClearBindingsClicked()
|
||||
{
|
||||
if (QMessageBox::question(
|
||||
QtUtils::GetRootWidget(this), tr("Clear Bindings"),
|
||||
tr("Are you sure you want to clear all bindings for this controller? This action cannot be undone.")) !=
|
||||
QtUtils::GetRootWidget(this), tr("Clear Mapping"),
|
||||
tr("Are you sure you want to clear all mappings for this controller? This action cannot be undone.")) !=
|
||||
QMessageBox::Yes)
|
||||
{
|
||||
return;
|
||||
@ -200,7 +200,7 @@ void ControllerBindingWidget::doDeviceAutomaticBinding(const QString& device)
|
||||
InputManager::GetGenericBindingMapping(device.toStdString());
|
||||
if (mapping.empty())
|
||||
{
|
||||
QMessageBox::critical(QtUtils::GetRootWidget(this), tr("Automatic Binding"),
|
||||
QMessageBox::critical(QtUtils::GetRootWidget(this), tr("Automatic Mapping"),
|
||||
tr("No generic bindings were generated for device '%1'").arg(device));
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user