localization and more const& params
This commit is contained in:
@ -123,6 +123,10 @@ bool Button::isDefault() {
|
||||
(keycode == 0);
|
||||
}
|
||||
|
||||
QString Button::getName() {
|
||||
return tr("Button %1").arg(index+1);
|
||||
}
|
||||
|
||||
QString Button::status() {
|
||||
if (useMouse) {
|
||||
return tr("%1 : Mouse %2").arg(getName()).arg(keycode);
|
||||
|
Reference in New Issue
Block a user