Silence compiler warning
warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] Change-Id: I15e283023918cd4ebc27e91812eadf95ba156d71 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
0f68222e9e
commit
c87b27f308
@ -3586,7 +3586,7 @@ bool QUrl::matches(const QUrl &url, FormattingOptions options) const
|
||||
else if (d->fragment != url.d->fragment)
|
||||
return false;
|
||||
|
||||
if (!(d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask))
|
||||
if ((d->sectionIsPresent & mask) != (url.d->sectionIsPresent & mask))
|
||||
return false;
|
||||
|
||||
// Compare paths, after applying path-related options
|
||||
|
Loading…
Reference in New Issue
Block a user