From 478d30b52935f164309c5c18e24bfadb126ee3a3 Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Fri, 19 Apr 2013 17:20:26 +0200 Subject: [PATCH] Fix typo. --- src/http/Service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/Service.cpp b/src/http/Service.cpp index b13ba3fad..95d9edae8 100644 --- a/src/http/Service.cpp +++ b/src/http/Service.cpp @@ -353,7 +353,7 @@ QList Service::findMatchingEntries(const QString& /* //Fill the list QList result; - result.reserve(result.size()); + result.reserve(pwEntries.count()); Q_FOREACH (Entry * entry, pwEntries) result << prepareEntry(entry); return result;