Permalink
Browse files

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

  • Loading branch information...
endrift committed May 8, 2018
1 parent be74bd3 commit a31e13f2d862c8119cbea9fe4b41f0f0403e1949
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/platform/qt/Window.cpp
@@ -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);

0 comments on commit a31e13f

Please sign in to comment.