Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
5.10.1
-
None
-
This code is only used in non-win32 code, so it affects all "posix" platforms.
Description
Simple logic sense problem in qtchooser. The linksBackToSelf() function compares the return value of endsWith() (returns a bool) against 0 instead of true/false. 0 is false in c/c++, so the sense of the test is wrong. Fix: just remove '== 0'. See attached patch.
I only checked the qtchooser-39-g4717841 release, so I don't know yet whether this has been fixed in a different version. I don't know if 5.10.1 is correct in the version field for this bug or not. There was no choice for qtchooser-39.