From 9bb80356036cbc39018163097710f61160782598 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 19 Aug 2012 11:42:08 +0200 Subject: 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 --- dist/changes-5.0.0 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dist') 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 -- cgit v1.2.3