Document QTranslator::translate SIC (91d2ee5e09)
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>bb10
parent
e1d06080f8
commit
9bb8035603
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue