Don't load the KSharedConfig instance on every read

Authored by apol on Apr 13 2019, 11:43 PM.

Description

Don't load the KSharedConfig instance on every read

Summary:
At the moment it was loading >2000 times at plasma boot for me because some
settings are being used in AppletProxyModel::filterAcceptsRow.

Test Plan: Added a debug statement in KSharedPointer::openFile()

Reviewers: Plasma, jgrulich

Reviewed By: jgrulich

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D20522

Details

Committed
apolApr 14 2019, 5:45 PM
Reviewer
jgrulich
Differential Revision
D20522: Don't load the KSharedConfig instance on every read
Parents
R116:54def49aec8f: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown