On Sunday 22 March 2009, Antonio Vinci wrote:
> I used moveBy() to do the trick, but I don't understand why it doesn't
> work if I uncomment emit appletTransformedItself();

another note on this: it won't work in all Containments. it is the containment 
that is responsible for keeping things in order, not the applet itself.

that said, the movement should be inside the if (location() == 
Plasma::Floating) { conditional. it's also the kind of code that really needs 
a comment to explain what it's doing. i had to stare at it for a moment to 
figure out what the various lines were trying to do :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to