We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2467df6 commit 3935a44Copy full SHA for 3935a44
1 file changed
Source/OFED.cpp
@@ -50,6 +50,7 @@ cOFED::cOFED(QWidget *parent) : QMainWindow(parent) {
50
QObject::connect(ui.action_New_Map, &QAction::triggered, this, &cOFED::ShowDialog_NewMap);
51
QObject::connect(ui.action_Load_Map, &QAction::triggered, this, &cOFED::ShowDialog_LoadMap);
52
QObject::connect(ui.action_Save_Map, &QAction::triggered, this, &cOFED::ShowDialog_SaveMap);
53
+ QObject::connect(ui.actionExit, &QAction::triggered, this, &QWidget::close);
54
55
QObject::connect(ui.action_Hut_Soldier, &QAction::triggered, this, &cOFED::AddHut_With_Soldier);
56
QObject::connect(ui.action_Hut_Indeigenous, &QAction::triggered, this, &cOFED::AddHut_With_Indigenous);
0 commit comments