Project

General

Profile

Bug #855482

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

Added by Marko Lindqvist 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Target version:
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