Qt: Simplify load game state string

This commit is contained in:
Connor McLaughlin 2020-09-26 01:10:40 +10:00
parent 87e3e4097f
commit 8476e373fa

View file

@ -905,7 +905,7 @@ void QtHostInterface::populateGameListContextMenu(const char* game_code, QWidget
else else
{ {
load_state_menu->setEnabled(true); load_state_menu->setEnabled(true);
action = load_state_menu->addAction(tr("%1 Save %2 (%3)").arg(tr("Game")).arg(slot).arg(timestamp_str)); action = load_state_menu->addAction(tr("Game Save %1 (%2)").arg(slot).arg(timestamp_str));
} }
connect(action, &QAction::triggered, [this, path]() { loadState(path); }); connect(action, &QAction::triggered, [this, path]() { loadState(path); });