mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
fix regression since 81cc260944
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4e1d48fa13
commit
0b1c43e52b
1 changed files with 1 additions and 1 deletions
|
@ -1643,7 +1643,7 @@ bool QTextCodec::canEncode(const QString& s) const
|
|||
QTextConverter textconverter = converter();
|
||||
textconverter.setFlags(QTextConverter::ConvertInvalidToNull);
|
||||
(void)textconverter.fromUnicode(s);
|
||||
return textconverter.hasFailure();
|
||||
return !textconverter.hasFailure();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Reference in a new issue