Andre Poenitz wrote:
On Sat, Sep 29, 2007 at 11:27:56AM -0400, Richard Heck wrote:

and I'm getting times on the order of 125ms just for that one call.

I remember sending at least two messages to the list saying that calling
QClipboard::text() is an extremely expensive operation and should be
avoided.

I don't remember you did but that's obviously right.


Instead, user code should hook to the QClipoard::*changed() signals
and cache the results.

Yep.


Second, every toolbar is updated every time through here EVEN IF IT IS NOT DISPLAYED. I found this out because hiding the standard toolbar made no difference. This is a waste.

Welcome in my world.

And mine ;-)

Abdel.

Reply via email to