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