Re: Slow Call

2007-12-12 Thread Abdelrazak Younes
rgheck wrote: If you change the code as I have and select some text with, say, Shift-Down Arrow, and watch the times, the call qApp->clipboard()->setText(emp, QClipboard::Selection); can take as long as 125ms on one of my machines (roughly a 2GHz Athlon). That is ridiculous. Why is that r

Slow Call

2007-12-12 Thread rgheck
I posted this before, but got no reply, so I'm trying again. Look at this code, where I've added some timing code: void GuiSelection::haveSelection(bool own) { QTime t; t.start(); if (!qApp->clipboard()->supportsSelection()) return; lyxerr << t.restart() << "msec check" << st