QMessageBox: fix deprecated warning about using old ctor
Change-Id: Ib53962e3527e2703af5ff36ce2fd4bd5ea987d85 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
76016d9948
commit
148d52e04d
|
|
@ -1812,7 +1812,7 @@ void QMessageBox::about(QWidget *parent, const QString &title, const QString &te
|
|||
}
|
||||
#endif
|
||||
|
||||
QMessageBox *msgBox = new QMessageBox(title, text, Information, 0, 0, 0, parent
|
||||
QMessageBox *msgBox = new QMessageBox(Information, title, text, NoButton, parent
|
||||
#ifdef Q_OS_MAC
|
||||
, Qt::WindowTitleHint | Qt::WindowSystemMenuHint
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue