diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2010-02-24 15:48:51 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2010-02-26 15:00:17 (GMT) |
commit | 8fc7d3315b3317ce7a3bf2ac4f0b3636623e515e (patch) | |
tree | 5fc615f39376a0e901ea26f332f00e579d4488f2 /src/corelib/io/qurl.h | |
parent | a262cb0abec91ccce2502547fc376364e9d804da (diff) | |
download | Qt-8fc7d3315b3317ce7a3bf2ac4f0b3636623e515e.zip Qt-8fc7d3315b3317ce7a3bf2ac4f0b3636623e515e.tar.gz Qt-8fc7d3315b3317ce7a3bf2ac4f0b3636623e515e.tar.bz2 |
QUrl: document adding of hash function
Reviewed-by: TrustMe
Diffstat (limited to 'src/corelib/io/qurl.h')
-rw-r--r-- | src/corelib/io/qurl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h index 906979c..6f8331a 100644 --- a/src/corelib/io/qurl.h +++ b/src/corelib/io/qurl.h @@ -270,9 +270,9 @@ public: inline DataPtr &data_ptr() { return d; } }; -inline uint qHash(const QUrl &uri) +inline uint qHash(const QUrl &url) { - return qHash(uri.toEncoded(QUrl::FormattingOption(0x100))); + return qHash(url.toEncoded(QUrl::FormattingOption(0x100))); } Q_DECLARE_TYPEINFO(QUrl, Q_MOVABLE_TYPE); |