mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdecore: fix KEntryMap value change
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
3ed846617d
commit
5cc29351d6
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ bool KEntryMap::setEntry(const QByteArray& group, const QByteArray& key, const Q
|
|||
return false;
|
||||
}
|
||||
|
||||
it.value() = e;
|
||||
insert(it.key(), e);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,7 @@ bool KEntryMap::setEntry(const QByteArray& group, const QByteArray& key, const Q
|
|||
if(it.value() != e)
|
||||
{
|
||||
//qDebug() << "changing" << k << "from" << e.mValue << "to" << value;
|
||||
it.value() = e;
|
||||
insert(it.key(), e);
|
||||
if(k.bDefault)
|
||||
{
|
||||
KEntryKey nonDefaultKey(k);
|
||||
|
|
Loading…
Add table
Reference in a new issue