Hi Sreepriya, thanks for correcting the errors. Some comments inline.

I dont know why you are getting a green background. I dont get that and it works fine for me. I had set white color instead of green.

Er, that was a problem between the keyboard and chair on my side, sorry. Never 
mind.

Nonetheless, the code still looks a bit complicated -- could you make it just 
something like this:

if (edit->text().isEmpty() || parseRecipients(recipients, errorMessage)) {
   p.setColor(QPalette::Base, palette().color(QPalette::Base));
} else {
   p.setColor(QPalette::Base, QColor(247, 230, 230));
}

I deleted that and created a new one. Hope this is fine.

Your real name is still given as "sreepriyachalakkal"; please make it prettier.

With kind regards,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to