From a3344d8f5185dca18a17838d2573b4c53c9e517f Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 3 Sep 2010 21:14:32 +0000 Subject: [PATCH] const & svn path=/trunk/KDE/kdelibs/; revision=1171434 --- private/storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/storage.cpp b/private/storage.cpp index 1776d34af..038982066 100644 --- a/private/storage.cpp +++ b/private/storage.cpp @@ -44,7 +44,7 @@ void StorageJob::start() return; } else if (operationName() == "retrieve") { QHash h; - foreach(QString key, dataGroup.keyList()) + foreach(const QString &key, dataGroup.keyList()) { QVariant v(dataGroup.readEntry(key)); h[key] = v;