mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
Qt: Simplify load game state string
This commit is contained in:
parent
87e3e4097f
commit
8476e373fa
|
@ -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); });
|
||||||
|
|
Loading…
Reference in a new issue