mart added a comment.
In https://phabricator.kde.org/D2680#49986, @hein wrote: > I feel like this could all be on the C++ side and driven by the constructors+destructors of the Backend class, keeping a static instance counter in there. It would cut down on the boilerplate and avoid exposing the nitty-gritty to the QML code unnecessarily. I tend to agree here REPOSITORY rPLASMADESKTOP Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D2680 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma, #plasma:_design, hein Cc: graesslin, lbeltrame, mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas