Hi, "Instead, I subclassed KTextEdit to emit a signal when it loses input focus, and this signal is connected to the saveLogData() slot." It might be worth calling saveLogData in the destructor as well for the cases when you change it then quit without loosing focus. JohnFlux