Print dialog Qt+osx bug test #2

This commit is contained in:
Mark Watkins 2011-12-12 14:34:20 +10:00
parent 71c9e3e4f4
commit 41f233e7ea

View File

@ -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;