Skip to content

Commit d0381dc

Browse files
authored
Merge pull request #4 from seequent/LF-38131-fix-qt-locale-check
LF-38131 Remove warning about decimal and grouping characters
2 parents 552fd6d + ab168dd commit d0381dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/corelib/text/qlocale.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,10 @@ static void updateSystemPrivate()
763763
const ushort group = res.toString().at(0).unicode();
764764
if (group != globalLocaleData.m_decimal)
765765
globalLocaleData.m_group = group;
766-
else if (group == globalLocaleData.m_group)
767-
qWarning("System-supplied decimal and grouping character are both 0x%hx", group);
766+
// LF-38131 When the grouping character and decimal character are the same, this will prevent an app from opening as
767+
// Qt is not fully initialised. So do not show this warning now (this was removed in future commits)
768+
// else if (group == globalLocaleData.m_group)
769+
// qWarning("System-supplied decimal and grouping character are both 0x%hx", group);
768770
}
769771

770772
res = sys_locale->query(QSystemLocale::ZeroDigit, QVariant());

0 commit comments

Comments
 (0)