diff options
author | David Faure <faure@kde.org> | 2012-08-19 11:42:08 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-21 06:48:50 +0200 |
commit | 9bb80356036cbc39018163097710f61160782598 (patch) | |
tree | 7aeaeda85939f0b816f5868ff480c3234875141f /dist/changes-5.0.0 | |
parent | e1d06080f891b01ab5ab1733c524ebb49e3a5f16 (diff) |
Document QTranslator::translate SIC (91d2ee5e09a6b4)
Detected by a unittest failure in KDE, due to the KDETranslator subclass
not being called anymore.
Change-Id: I0171117a677e2d58aba2f76bc27f7f1f7a521cc1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'dist/changes-5.0.0')
-rw-r--r-- | dist/changes-5.0.0 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 852e6c5b42..4bb52961b1 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -41,6 +41,9 @@ information about a particular change. - QCoreApplication::translate() will no longer return the source text when the translation is empty. Use lrelease -removeidentical for optimization. +- QTranslator subclasses need to adjust the signature of the virtual method + translate() in order to add the "int n = -1" argument. + - QString and QByteArray constructors that take a size argument will now treat negative sizes to indicate nul-terminated strings (a nul-terminated array of QChar, in the case of QString). In Qt 4, negative sizes were ignored and |