Get rid of exceptions when running Python plasmoids and when deleting them....
Get rid of exceptions when running Python plasmoids and when deleting them. For some reason (which needs to be investigated) __dtor__ is called about 4 times before the actual deletion occurs, and so the applet is not yet initialized. The other fixed exception regards size() which can be called before the initialization is complete. This used to return None, which caused TypeError in the receiver of this function. Having it return a null QPainterPath fixed it. Patch OK'd on plasma-devel, and I used it without side effects for about a week. It will be backported. svn path=/trunk/KDE/kdebase/workspace/; revision=1158475
parent
18d849e6
Please register or sign in to comment