diff options
Diffstat (limited to 'src/gui/util/qundostack.cpp')
-rw-r--r-- | src/gui/util/qundostack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/util/qundostack.cpp b/src/gui/util/qundostack.cpp index f5757c17045..c4dcc68049f 100644 --- a/src/gui/util/qundostack.cpp +++ b/src/gui/util/qundostack.cpp @@ -302,7 +302,7 @@ QString QUndoCommand::actionText() const void QUndoCommand::setText(const QString &text) { - int cdpos = text.indexOf(QLatin1Char('\n')); + int cdpos = text.indexOf(u'\n'); if (cdpos > 0) { d->text = text.left(cdpos); d->actionText = text.mid(cdpos + 1); @@ -1044,7 +1044,7 @@ void QUndoStackPrivate::setPrefixedText(QAction *action, const QString &prefix, if (defaultText.isEmpty()) { QString s = prefix; if (!prefix.isEmpty() && !text.isEmpty()) - s.append(QLatin1Char(' ')); + s.append(u' '); s.append(text); action->setText(s); } else { |