diff options
author | Robert Loehning <robert.loehning@nokia.com> | 2012-07-27 19:32:30 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-03 19:57:14 +0200 |
commit | 07ec091005e49a2e391c37eb2427251f8aec671b (patch) | |
tree | a8bd03a15909c862f4136b95a78353985aee3c05 /doc | |
parent | 6126bc47086981e48a82208fe7e8768d566f5365 (diff) | |
download | qt4-tools-07ec091005e49a2e391c37eb2427251f8aec671b.tar.gz |
Doc: Improved tr()-example
Change-Id: I02400b5c6ad2a5b6a5c6a8ffa9f234f27969e0a8
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/snippets/code/src_corelib_kernel_qobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_corelib_kernel_qobject.cpp b/doc/src/snippets/code/src_corelib_kernel_qobject.cpp index d34feaa1c3..90c634977a 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] |