On Thu, Dec 12, 2002 at 11:12:56AM +0100, Kornel Benko wrote: > This may not be sufficient. I have cases in which > key_ == Qt::Key_unknown > text_.isEmpty() == false !! > text_.isNull() == true > which should be impossible, but I can see it. (text_.length() == 1 in that case btw.) > > --> bool const ok(!((text_.isEmpty() || text_.isNull()) && key_ == >Qt::Key_unknown))
I thought you'd tested this patch ? regards john -- "Anyone who says you can have a lot of widely dispersed people hack away on a complicated piece of code and avoid total anarchy has never managed a software project." - Andy Tanenbaum