D13586: Ref KConfig whilst we're using it
David Edmundson
noreply at phabricator.kde.org
Tue Jun 19 08:02:01 UTC 2018
davidedmundson added a comment.
> I guess KSharedConfig would work as well, that way the KConfig keeps a reference alive.
I'm not convinced that
auto group = KSharedConfig::openConfig().group()
would be any different.
Your shared pointer still goes out of scope, the group's handle to the kconfig object is still the same.
but I can change anyway
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D13586
To: davidedmundson, #plasma
Cc: ngraham, fvogt, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180619/c979d1a6/attachment.html>
More information about the Plasma-devel
mailing list