diff --git a/mainwindow.cpp b/mainwindow.cpp index ff7e07b..07a9c4a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -86,13 +86,13 @@ void MainWindow::onRestartExitTimer() { } void MainWindow::onQuit() { - // if (!m_worker->updateProcessRunning()) { - qCritical() << "ON QUIT: EXIT CODE" << QString::number(m_worker->returnCode()); + m_exitTimer->stop(); + qCritical() << QString("ON QUIT: EXIT CODE %1").arg(m_worker->returnCode()); qApp->exit(m_worker->returnCode()); - //} } void MainWindow::onSetProgress(quint8 v) { + qCritical() << "ON SET PROGRESS" << v; ui->updateProgress->setValue(v); } @@ -118,5 +118,5 @@ void MainWindow::onAppendText(QString text, QString suffix) { } void MainWindow::onShowErrorMessage(QString title, QString text) { - // QMessageBox::critical(this, title, text, QMessageBox::Ok); + QMessageBox::critical(this, title, text, QMessageBox::Ok); }