summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@nokia.com>2012-07-27 19:32:30 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-03 19:57:14 +0200
commit07ec091005e49a2e391c37eb2427251f8aec671b (patch)
treea8bd03a15909c862f4136b95a78353985aee3c05 /doc
parent6126bc47086981e48a82208fe7e8768d566f5365 (diff)
downloadqt4-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.cpp2
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]