mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Print dialog Qt+osx bug test #2
This commit is contained in:
parent
71c9e3e4f4
commit
41f233e7ea
@ -740,7 +740,7 @@ void MainWindow::PrintReport(gGraphView *gv,QString name, QDate date)
|
||||
QPrintDialog dialog(printer);
|
||||
#ifdef Q_WS_MAC
|
||||
// QTBUG-17913
|
||||
dialog.setModal(true);
|
||||
QApplication::processEvents();
|
||||
#endif
|
||||
if (dialog.exec() != QDialog::Accepted) {
|
||||
delete printer;
|
||||
|
Loading…
Reference in New Issue
Block a user