mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 03:00:43 +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);
|
QPrintDialog dialog(printer);
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
// QTBUG-17913
|
// QTBUG-17913
|
||||||
dialog.setModal(true);
|
QApplication::processEvents();
|
||||||
#endif
|
#endif
|
||||||
if (dialog.exec() != QDialog::Accepted) {
|
if (dialog.exec() != QDialog::Accepted) {
|
||||||
delete printer;
|
delete printer;
|
||||||
|
Loading…
Reference in New Issue
Block a user