Skip to content

Commit

Permalink
[iss-202]
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit dbc043e
Author: joaquin.f.fernandez <joaquin.f.fernandez@gmail.com>
Date:   Wed Oct 26 11:05:37 2022 -0300

    Fix crash on gui exit.
  • Loading branch information
joaquinffernandez committed Oct 26, 2022
1 parent ebe4bb7 commit c2ba416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/mmomegui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ void MmomeGui::createActions()
exitAct = new QAction(tr("E&xit"), this);
exitAct->setShortcuts(QKeySequence::Quit);
exitAct->setStatusTip(tr("Exit the application"));
connect(exitAct, &QAction::triggered, qApp, &QApplication::closeAllWindows);
connect(exitAct, &QAction::triggered, qApp, &QApplication::quit);
separatorAct = menu_File->addSeparator();
for (int i = 0; i < MaxRecentFiles; ++i) menu_File->addAction(recentFileActs[i]);
separatorAct->setVisible(false);
Expand Down

0 comments on commit c2ba416

Please sign in to comment.