From fb07bcab0a0d6772c550f08bd9642faa14156ac3 Mon Sep 17 00:00:00 2001 From: John Layt Date: Sat, 5 Jun 2010 13:09:48 +0000 Subject: [PATCH] Don't throw away multiple values per key when doing deep copy. See http://reviewboard.kde.org/r/4235/ svn path=/trunk/KDE/kdelibs/; revision=1134838 --- datacontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacontainer.cpp b/datacontainer.cpp index ca489edc4..7821f61a4 100644 --- a/datacontainer.cpp +++ b/datacontainer.cpp @@ -50,7 +50,7 @@ void DataContainer::setData(const QString &key, const QVariant &value) if (!value.isValid()) { d->data.remove(key); } else { - d->data[key] = value; + d->data.insertMulti(key, value); } d->dirty = true;