Well, Googling on the line that was added, I found this link:
Near the bottom is this entry.
<p>...that if you let your shell pass the current directory to Konsole within the prompt
variable, e.g. for Bash with 'export PS1=$PS1"\[\e]31;\w\a\]"' in your ~/.bashrc, then
Konsole can bookmark it, and session management will remember your current working directory
on non-Linux systems too?
I'm not entirely sure, but it looks like Konsole is adding it.