Permalink
Browse files
Qt: Add load alternate save options (fixes #1072)
- Loading branch information...
Showing
with
5 additions
and
0 deletions.
-
+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