QPrintDialog/win: Fix use of deprecated QMessageBox::warning
by using the new one Pick-to: 6.3 6.2 Change-Id: I8779107079c4e3d4b1d48c05b6fbfef1b6e98b99 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
fd72c0d26c
commit
76016d9948
|
|
@ -261,9 +261,9 @@ int QPrintDialogPrivate::openWindowsPrintDialogModally()
|
|||
}
|
||||
|
||||
if (!done) {
|
||||
QMessageBox::warning(0, QPrintDialog::tr("Print"),
|
||||
QPrintDialog::tr("The 'From' value cannot be greater than the 'To' value."),
|
||||
QPrintDialog::tr("OK"));
|
||||
QMessageBox::warning(nullptr,
|
||||
QPrintDialog::tr("Print"),
|
||||
QPrintDialog::tr("The 'From' value cannot be greater than the 'To' value."));
|
||||
}
|
||||
} while (!done);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue