Qt: Add load alternate save options (fixes #1072)

This commit is contained in:
Vicki Pfau 2018-05-08 14:11:19 -07:00
parent be74bd349a
commit a31e13f2d8
1 changed files with 5 additions and 0 deletions

View File

@ -989,6 +989,11 @@ void Window::setupMenu(QMenuBar* menubar) {
"addDirToLibrary");
#endif
QAction* loadAlternateSave = new QAction(tr("Load alternate save..."), fileMenu);
connect(loadAlternateSave, &QAction::triggered, [this]() { this->selectSave(false); });
m_gameActions.append(loadAlternateSave);
addControlledAction(fileMenu, loadAlternateSave, "loadAlternateSave");
QAction* loadTemporarySave = new QAction(tr("Load temporary save..."), fileMenu);
connect(loadTemporarySave, &QAction::triggered, [this]() { this->selectSave(true); });
m_gameActions.append(loadTemporarySave);