Skip to content

Commit

Permalink
QAction Exit now assumes dbConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
Niakr1s committed Nov 26, 2019
1 parent bce032d commit b1703fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b1703fa

Please sign in to comment.