From 73f196644c536372d2004b52a5fa7b86fde63768 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 27 Apr 2020 11:18:55 +0200 Subject: QtWidgets: fix a few more int/char -> QChar conversions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Volker Hilsheimer Reviewed-by: MÃ¥rten Nordheim --- src/widgets/widgets/qwidgetlinecontrol_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/widgets/qwidgetlinecontrol_p.h') 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; } -- cgit v1.2.3