Revision 765128

Go back to digest for 27th January 2008

Bug Fixes in KDE-PIM

Jason vanRijn Kasper committed changes in /branches/KDE/3.5/kdepim/kpilot/lib:

- Using a mutex to access the static QTextCodec. It's supposed to be reentrant, but all the cool kids are using mutexes these days, and it's an extra layer of bullet-proofing. Safety first!
- Also, it seems to be important that we attempt to pass the real length of the string to QTextCodec instead of always passing the max length of 16.

This fixes the crash I was seeing from running KPilot3 in a KDE4 session and I don't see the error from valgrind anymore either.

File Changes

Modified 2 files
  • /branches/KDE/3.5/kdepim/kpilot/lib
  •   /pilot.cc
  •   /pilot.h
2 files changed in total