Removed newline character from the ToolPath::line_buffer before adding the line to the toolpath QStringList