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
This commit is contained in:
John Layt 2010-06-05 13:09:48 +00:00
parent 8c604eb73b
commit fb07bcab0a

View File

@ -50,7 +50,7 @@ void DataContainer::setData(const QString &key, const QVariant &value)
if (!value.isValid()) { if (!value.isValid()) {
d->data.remove(key); d->data.remove(key);
} else { } else {
d->data[key] = value; d->data.insertMulti(key, value);
} }
d->dirty = true; d->dirty = true;