summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qundostack.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2012-09-20 16:57:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-21 19:59:55 +0200
commit1dc517abc688f6cf20bdc75e8a4ff2dda86b5d70 (patch)
treea691cc353be72de96728f44e910e4a3ff7cebb10 /src/widgets/util/qundostack.cpp
parenteed5be6fcdb06d372c87aa61a7cbba6b78b8d965 (diff)
Documentation fixes.
Change-Id: I2e234ec4307bbe39359cdfa8b13e86661dad43b6 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/widgets/util/qundostack.cpp')
-rw-r--r--src/widgets/util/qundostack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/util/qundostack.cpp b/src/widgets/util/qundostack.cpp
index 47e161f059..bb264a834c 100644
--- a/src/widgets/util/qundostack.cpp
+++ b/src/widgets/util/qundostack.cpp
@@ -266,7 +266,7 @@ QString QUndoCommand::actionText() const
command does.
If you need to have two different strings for text() and actionText(), separate
- them with "\n" and pass into this function. Even if you do not use this feature
+ them with "\\n" and pass into this function. Even if you do not use this feature
for English strings during development, you can still let translators use two
different strings in order to match specific languages' needs.
The described feature and the function actionText() are available since Qt 4.8.