summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglwindow.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-01-07 15:06:54 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-01-09 11:13:59 +0100
commitf91af791cc3be1dfb9645ed4ebba10a7d9f74134 (patch)
treea64b90577f55acb5bd75c3d63f016048b2c9af91 /src/opengl/qopenglwindow.cpp
parent6224130cc821b0ef0dbdda80837e872c7996b916 (diff)
Add advance warning of change of return types coming in Qt6
The QLocale methods that report the fragments used in making up numbers all return QChar. A note dating from before Qt5 times warned that we need to change these to return QString (since we might need a surrogate pair to represent the relevant characters). Give advance warning in the documentation that this shall happen at Qt 6. [ChangeLog][QtCore][QLocale] decimalPoint(), groupSeparator(), percent(), zeroDigit(), negativeSign(), positiveSign() and exponential() still return QChar but shall be changed to return QString in Qt 6. Callers are encouraged to switch to QString early, exploiting the QString(QChar) constructor. Task-number: QTBUG-81053 Change-Id: Ia802c7665676ecf13669c6a6f173f2e70eac578e Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/opengl/qopenglwindow.cpp')
0 files changed, 0 insertions, 0 deletions