From 07ec091005e49a2e391c37eb2427251f8aec671b Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 27 Jul 2012 19:32:30 +0200 Subject: Doc: Improved tr()-example Change-Id: I02400b5c6ad2a5b6a5c6a8ffa9f234f27969e0a8 Reviewed-by: Oswald Buddenhagen Reviewed-by: Laszlo Papp Reviewed-by: Casper van Donderen --- doc/src/snippets/code/src_corelib_kernel_qobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/snippets/code/src_corelib_kernel_qobject.cpp b/doc/src/snippets/code/src_corelib_kernel_qobject.cpp index d34feaa..90c6349 100644 --- a/doc/src/snippets/code/src_corelib_kernel_qobject.cpp +++ b/doc/src/snippets/code/src_corelib_kernel_qobject.cpp @@ -240,7 +240,7 @@ MyWindow::MyWindow() //! [18] int n = messages.count(); -showMessage(tr("%n message(s) saved", "", n)); +showMessage(tr("%n message(s) saved", 0, n)); //! [18] -- cgit v0.12