On Fri, 8 Mar 2002, Christian Trefzer wrote:
> now i wonder how deleting 64 lines could make licq hang for about 10
> seconds, even if i experienced that problem a while ago, too... but
> that was with a cvs version linked to qt3, i recall. as mentioned by
> jon keating, linking to qt2 should solve the problem.

Yep, in qt3 the QMultiLineEdit is obsoleted, and now is only a wrapper
for QTextEdit, which stores the information in 'paragraphs' instead of
lines: maybe this transformation, done 64 times over 500 lines, is enough
to cause the cpu hogging.

I have tried to change MLEditWrap so that it inherits QTextEdit directly
when QT_VERSION >= 300, but I can't get moc to deal with that kind of
thing in the mledit.h file (it doesn't seem to recognize the #if
statements). Any ideas on preprocessing with moc?

Cheers,
 Tom.


_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to