Fix copy-paste error.
Fix copy-paste error identified by static analysis at http://www.viva64.com/en/b/0251/ Change-Id: I2e454c2e7535924dd533c0ceb4fd2283a8f9862f Reviewed-by: Daniel Molkentin <daniel@molkentin.de>
This commit is contained in:
parent
c7bd85e97d
commit
4a28205bed
@ -3247,7 +3247,7 @@ void QXmlSimpleReader::setFeature(const QString& name, bool enable)
|
||||
|| name == QLatin1String("http://qt-project.org/xml/features/report-whitespace-only-CharData")) {
|
||||
d->reportWhitespaceCharData = enable;
|
||||
} else if (name == QLatin1String("http://trolltech.com/xml/features/report-start-end-entity") // For compat with Qt 4
|
||||
|| name == QLatin1String("http://trolltech.com/xml/features/report-start-end-entity")) {
|
||||
|| name == QLatin1String("http://qt-project.org/xml/features/report-start-end-entity")) {
|
||||
d->reportEntities = enable;
|
||||
} else {
|
||||
qWarning("Unknown feature %s", name.toLatin1().data());
|
||||
|
Loading…
Reference in New Issue
Block a user