diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 4c1e24b..2bbb8b8 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -154,7 +154,7 @@ void MainWindow::connectAll() { connect(mainWidget_->treeView(), &XMLTreeView::DBEndSignal, this, &MainWindow::onDBEndSignal); - connect(actionExit_, &QAction::triggered, this, &QApplication::quit); + connect(actionExit_, &QAction::triggered, this, &MainWindow::close); connect(actionOpenXmls_, &QAction::triggered, this, &MainWindow::onActionOpenXmls);