This diff of TEHistory.cpp and TEHistory.h (between KDE 3.5.7 a 3.5.5) contains the problematic code.
This diff of TEHistory.cpp and TEHistory.h (between KDE 3.5.7 a 3.5.5) contains the problematic code.