mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 13:46:54 +00:00
Use attribute instead of comment
This commit is contained in:
parent
190a053987
commit
46e8c38395
|
@ -38,13 +38,13 @@ QtKeyboardDialog::QtKeyboardDialog(QWidget* parent, QtKeyboard* keyboard_)
|
|||
? tr(SWKBD_BUTTON_FORGOT)
|
||||
: QString::fromStdString(config.button_text[1]),
|
||||
QDialogButtonBox::ButtonRole::HelpRole);
|
||||
// fallthrough
|
||||
[[fallthrough]];
|
||||
case ButtonConfig::Dual:
|
||||
buttons->addButton(config.button_text[0].empty()
|
||||
? tr(SWKBD_BUTTON_CANCEL)
|
||||
: QString::fromStdString(config.button_text[0]),
|
||||
QDialogButtonBox::ButtonRole::RejectRole);
|
||||
// fallthrough
|
||||
[[fallthrough]];
|
||||
case ButtonConfig::Single:
|
||||
buttons->addButton(config.button_text[2].empty()
|
||||
? tr(SWKBD_BUTTON_OKAY)
|
||||
|
|
Loading…
Reference in a new issue