[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-edu-devel
Subject: Re: [kde-edu]: Fwd: check button don't do anything if the answer is
From: Albert Astals Cid <aacid () kde ! org>
Date: 2009-01-22 22:21:25
Message-ID: 200901222321.26341.aacid () kde ! org
[Download RAW message or body]
A Dijous 22 Gener 2009, Nadav Vinik va escriure:
> ---------- Forwarded message ----------
> From: Nadav Vinik <nadavvin@gmail.com>
> Date: Wed, Jan 21, 2009 at 10:05 PM
> Subject: check button don't do anything if the answer is complete number
> To: annma@kde.org
Just for the record
if (numer_edit->text().isEmpty() == true && deno_edit->text().isEmpty() ==
true && integer_edit->text().isEmpty() == true)
is the same as
if (numer_edit->text().isEmpty() && deno_edit->text().isEmpty() &&
integer_edit->text().isEmpty())
and in my opinion the second line looks much better.
No need to change it, just keep it in mind for the future :-)
Albert
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic