﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
46	Line breaks missing in some QLabels	rudi	dmik	"I have a .ui file here (don't know who created it), that uses a single carriage return as end-of-line terminator. This causes UIC to remove line breaks from multi-line text labels. Suggested fix:

Change lines 75 and 76 in uic.cpp from:


	s.replace( ""\r"", """" );[[BR]]
	s.replace( ""\n"", ""\\n\""\n\"""" );


to:
	s.replace( ""\r\n"", ""\n"" );[[BR]]
	s.replace( ""\n"", ""\\n\""\n\"""" );[[BR]]
	s.replace( ""\r"", ""\\n\""\n\"""" );

This should make line breaks in multi lined labels independent of the EOL char.

"	defect	new	normal		designer		normal			
