From 41f233e7ea1e0acc98a12e14cf22dc5c86d59597 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Mon, 12 Dec 2011 14:34:20 +1000 Subject: [PATCH] Print dialog Qt+osx bug test #2 --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index ce8cfaf1..bbf7bc6b 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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;