Revision 872704

Go back to digest for 19th October 2008

Bug Fixes in Networking Tools

Roman Jarosz committed changes in /trunk/KDE/kdenetwork/kopete:

Fix bug 172485: Kopete has full CPU load (freezes) when receiving a long line.

The message.setHtmlBody( message.parsedBody() ); which should cache the emoticons actually didn't cache it and it made it even worse because setHtml is much slower than parsedBody if we have many emoticons (html tags).

So this patch removes this line and adds caching into the parsedBody function.
The great thing is that we don't have to call setHtml which was the bottleneck.

File Changes

Modified 2 files
  • /trunk/KDE/kdenetwork/kopete
  •   /libkopete/kopetemessage.cpp
  •   /kopete/chatwindow/chatmessagepart.cpp
2 files changed in total