code/core/textsessionview.cpp: remove a double include