aboutsummaryrefslogtreecommitdiff
path: root/src/trustedhostcollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trustedhostcollection.cpp')
-rw-r--r--src/trustedhostcollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trustedhostcollection.cpp b/src/trustedhostcollection.cpp
index 57a45df..5171fd3 100644
--- a/src/trustedhostcollection.cpp
+++ b/src/trustedhostcollection.cpp
@@ -104,7 +104,7 @@ void TrustedHostCollection::clear()
bool TrustedHostCollection::insert(const TrustedHost &host)
{
- for(auto const & item : items)
+ for(auto const & item : qAsConst(items))
{
if(item.host_name == host.host_name)
return false;