Correct interpretation of return code

Authored by tbaumgart on Jan 25 2017, 8:45 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
(cherry picked from commit bbefd9f1d042a8277925475e3286bc10539a6445)

Details

Committed
tbaumgartJan 25 2017, 8:45 AM
Parents
R261:dd85d3b1ee08: Improve previous commit for exact name match
Branches
Unknown
Tags
Unknown