plasma-framework/src/scriptengines
Aleix Pol f75eb2d984 Don't connect to signals until the class has been initialized
While profiling plasmashell memory usage with Vishesh we realized that most
of the usage came from loading the Background image repeatedly.

We traced it back to this change, where we were connecting to
wallpaperChanged before initializing it, so it would initialize it again,
loading the wallpaper twice. It's not that we were leaking the object,
AFAIK, but loading an image using QQuickImage already raises the memory
quite a bit.

This change alone reduces by 15% the memory usage of my plasmashell (with 2
screens, that makes it a bit worse, because there's 2 DesktopViews then).

REVIEW: 119216
2014-07-10 19:53:03 +02:00
..
python SVN_SILENT made messages (.desktop file) 2014-07-10 04:23:58 +00:00
qml Don't connect to signals until the class has been initialized 2014-07-10 19:53:03 +02:00
ruby SVN_SILENT made messages (.desktop file) 2014-07-10 04:23:58 +00:00
CMakeLists.txt Disable Python script engine for now, it requires bindings for libplasma 2014-04-25 21:18:07 +02:00