diff --git a/mainwindow.cpp b/mainwindow.cpp index 7bb076e..8cd0e53 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -964,6 +964,7 @@ void MainWindow::closeEvent(QCloseEvent *event) if(sending) dialog.setText(tr("Printer is working!\nAre you shure you want to exit?")); else dialog.setText(tr("Printer is connected!\nAre you shure you want tot exit?")); dialog.setIcon(QMessageBox::Warning); + dialog.setWindowTitle(tr("Warning")); //Save pointer to check what button was clicked QPushButton *exitButton = dialog.addButton(tr("Exit"), QMessageBox::AcceptRole);