summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgetlinecontrol_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-04-27 11:18:55 +0200
committerMarc Mutz <marc.mutz@kdab.com>2020-04-30 00:31:04 +0200
commit73f196644c536372d2004b52a5fa7b86fde63768 (patch)
treedb6638cbdaa0b081aa685b1a5abf58004b61c62f /src/widgets/widgets/qwidgetlinecontrol_p.h
parent8c43aa777eaadeca208ffaab26abd6b1d9f45999 (diff)
QtWidgets: fix a few more int/char -> QChar conversions
They were masked by all QChar ctors being made explicit, except the char16_t one, which was left as the only viable choice. Change-Id: I210d50dc243391ad2c7dd353ba9ae40147585d04 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/widgets/widgets/qwidgetlinecontrol_p.h')
-rw-r--r--src/widgets/widgets/qwidgetlinecontrol_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qwidgetlinecontrol_p.h b/src/widgets/widgets/qwidgetlinecontrol_p.h
index 357b541362..43ce9ff7e4 100644
--- a/src/widgets/widgets/qwidgetlinecontrol_p.h
+++ b/src/widgets/widgets/qwidgetlinecontrol_p.h
@@ -110,7 +110,7 @@ public:
// password data to stay in the process memory, therefore we need
// to zero it out
if (m_echoMode != QLineEdit::Normal)
- m_text.fill('\0');
+ m_text.fill(u'\0');
delete [] m_maskData;
}