revert this commit, it breaks the dataengine usge pattern and introduces memory leaks (which can be worked around, but at a cpu penalty for the common case)

svn path=/trunk/KDE/kdelibs/; revision=1136118
This commit is contained in:
Aaron J. Seigo 2010-06-09 01:17:16 +00:00
parent 7ef4c10667
commit 118e9c8394

View File

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