diff options
author | Robert Loehning <robert.loehning@nokia.com> | 2012-07-27 17:32:30 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-03 17:57:14 (GMT) |
commit | 07ec091005e49a2e391c37eb2427251f8aec671b (patch) | |
tree | a8bd03a15909c862f4136b95a78353985aee3c05 /doc | |
parent | 6126bc47086981e48a82208fe7e8768d566f5365 (diff) | |
download | Qt-07ec091005e49a2e391c37eb2427251f8aec671b.zip Qt-07ec091005e49a2e391c37eb2427251f8aec671b.tar.gz Qt-07ec091005e49a2e391c37eb2427251f8aec671b.tar.bz2 |
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 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] |