summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcel Krems <m.krems@software-vision.eu>2013-10-10 16:32:31 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-04 19:53:08 +0100
commitc87b27f308eecb2beadc227e107b2df161b3466b (patch)
tree1eb1d7fa8c76374a4b498c57c3f20997029dbcf7 /src
parent0f68222e9ebdf42778d4bb84260268764eb55b30 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qurl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index fe5faa2be7..77aa3c4821 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -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