D9123: reuse KPackage instance between PluginLoader and Applet

Marco Martin noreply at phabricator.kde.org
Sun Dec 3 12:01:33 UTC 2017


mart created this revision.
mart added a reviewer: Plasma.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  to minimize metadata lookups, pass the kpackage created in pluginloader
  to the applet itself as args. the args structure will be used only by the
  internal constructor and applet sublasses will get their args unaltered

TEST PLAN
  plasma loads correctly, from 3 kpackage instantiation per applet to 2
  (last is in the access manager)

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  phab/kpackageinctor

REVISION DETAIL
  https://phabricator.kde.org/D9123

AFFECTED FILES
  src/plasma/applet.cpp
  src/plasma/pluginloader.cpp
  src/plasma/private/applet_p.cpp
  src/plasma/private/applet_p.h

To: mart, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171203/e5411fb1/attachment.html>


More information about the Plasma-devel mailing list