Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
[kcalcore] Also store volatile properties when inserted with non KDE …
Browse files Browse the repository at this point in the history
…API. Contributes to JB#50817
  • Loading branch information
dcaliste committed Aug 17, 2020
1 parent 6b03be0 commit 6b74f46
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kcalcore/customproperties.cpp
Expand Up @@ -159,8 +159,12 @@ void CustomProperties::setNonKDECustomProperty( const QByteArray &name, const QS
return;
}
customPropertyUpdate();
d->mProperties[name] = value;
d->mPropertyParameters[name] = parameters;
if (d->isVolatileProperty( name )) {
d->mVolatileProperties[name] = value;
} else {
d->mProperties[name] = value;
d->mPropertyParameters[name] = parameters;
}
customPropertyUpdated();
}
void CustomProperties::removeNonKDECustomProperty( const QByteArray &name )
Expand Down

0 comments on commit 6b74f46

Please sign in to comment.