summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/installer/packagesource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/packagesource.cpp b/src/libs/installer/packagesource.cpp
index e58ba870c..f60c5c8e1 100644
--- a/src/libs/installer/packagesource.cpp
+++ b/src/libs/installer/packagesource.cpp
@@ -75,7 +75,7 @@ namespace QInstaller {
/*!
Returns the hash value for the \a key, using \a seed to seed the calculation.
*/
-uint QInstaller::qHash(const PackageSource &key, uint seed)
+uint qHash(const PackageSource &key, uint seed)
{
return qHash(key.url, seed) ^ key.priority;
}
@@ -83,7 +83,7 @@ uint QInstaller::qHash(const PackageSource &key, uint seed)
/*!
Returns \c true if \a lhs and \a rhs are equal; otherwise returns \c false.
*/
-bool QInstaller::operator==(const PackageSource &lhs, const PackageSource &rhs)
+bool operator==(const PackageSource &lhs, const PackageSource &rhs)
{
return lhs.url == rhs.url && lhs.priority == rhs.priority;
}