diff options
author | jasplin <qt-info@nokia.com> | 2009-05-25 07:25:43 (GMT) |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2009-05-25 07:30:00 (GMT) |
commit | 4147a2c788c39f09ef87181768a779cb701fd2bd (patch) | |
tree | 70defe84463a0446c1f77e11576c60c30034ed58 /src/gui/dialogs/qmessagebox.h | |
parent | afb81a7527d798618b03319d4c0c47d33487fcfa (diff) | |
download | Qt-4147a2c788c39f09ef87181768a779cb701fd2bd.zip Qt-4147a2c788c39f09ef87181768a779cb701fd2bd.tar.gz Qt-4147a2c788c39f09ef87181768a779cb701fd2bd.tar.bz2 |
Added a "Qt 5 FIXME" comment to qmessagebox.h.
QMessageBox::question() has the wrong default value for
one of its arguments, but fixing it may break existing code,
and the workaround is trivial (just specify an explicit
value for the default argument).
Reviewed-by: TrustMe
Task-number: 254131
Diffstat (limited to 'src/gui/dialogs/qmessagebox.h')
-rw-r--r-- | src/gui/dialogs/qmessagebox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/dialogs/qmessagebox.h b/src/gui/dialogs/qmessagebox.h index 8d9b9fa..c6fb3bc 100644 --- a/src/gui/dialogs/qmessagebox.h +++ b/src/gui/dialogs/qmessagebox.h @@ -191,6 +191,8 @@ public: static StandardButton information(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton); + // ### Qt 5: Replace Ok with Yes|No in question() function. + // Also consider if Ok == Yes and Cancel == No. static StandardButton question(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons = Ok, StandardButton defaultButton = NoButton); |