Skip to content

Commit

Permalink
Fix copy-paste error.
Browse files Browse the repository at this point in the history
Fix copy-paste error identified by static analysis at
http://www.viva64.com/en/b/0251/

Change-Id: I2e454c2e7535924dd533c0ceb4fd2283a8f9862f
Reviewed-by: Daniel Molkentin <[email protected]>
  • Loading branch information
richmoore authored and The Qt Project committed Apr 18, 2014
1 parent c7bd85e commit 4a28205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml/sax/qxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 4a28205

Please sign in to comment.