Correct interpretation of return code

Authored by tbaumgart on Jan 4 2017, 9:32 AM.

Description

Correct interpretation of return code

Since the 'no-match at all' condition of QRegExp::indexIn() also returns
a value that is 'true', the return value must be compared against -1 instead.

BUG: 374527

Details

Committed
tbaumgartJan 4 2017, 9:32 AM
Parents
R261:5ecbe8f8a74f: Improve previous commit for exact name match
Branches
Unknown
Tags
Unknown