mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
mark QLatin1Char object as static in QDateTimeParser::parse()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6570229811
commit
c848cd49cb
1 changed files with 1 additions and 1 deletions
|
@ -4605,7 +4605,7 @@ QDateTimeParser::StateNode QDateTimeParser::parse(QString &input, int &cursorPos
|
|||
end:
|
||||
if (newCurrentValue.isValid()) {
|
||||
if (context != FromString && state != Invalid && newCurrentValue < minimum) {
|
||||
const QLatin1Char space(' ');
|
||||
static const QLatin1Char space(' ');
|
||||
if (Q_UNLIKELY(newCurrentValue >= minimum))
|
||||
qWarning("QDateTimeParser::parse Internal error 3 (%s %s)",
|
||||
qPrintable(newCurrentValue.toString()), qPrintable(minimum.toString()));
|
||||
|
|
Loading…
Add table
Reference in a new issue