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:
parent
7ef4c10667
commit
118e9c8394
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user