diff -r 5e0ae285aaaf -r 64cf5468fd22 src/MainWindow.cpp --- a/src/MainWindow.cpp Sat Mar 26 22:45:02 2022 +0100 +++ b/src/MainWindow.cpp Sun Mar 27 11:59:15 2022 +0200 @@ -262,14 +262,14 @@ void MainWindow::on_actionSupplies_list_triggered() { qDebug() << Q_FUNC_INFO; - QDialog *printer = new PrinterDialog(PR_SUPPLIES, -1, this); + PrinterDialog(PR_SUPPLIES, -1, this); } void MainWindow::on_actionYeast_bank_triggered() { qDebug() << Q_FUNC_INFO; - QDialog *printer = new PrinterDialog(PR_YEASTBANK, -1, this); + PrinterDialog(PR_YEASTBANK, -1, this); }