Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #855482

Qt-client has "== false" and "== true" comparisons

Added by Marko Lindqvist almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Especially "== true" comparison is bug-prone as any non-zero value counts as boolean true, but only 1 is equal to 'true'. These comparisons exist not only from C++ 'bool' values but also from not-strictly-bool values.

Also available in: Atom PDF