In all cases empty non-null QStrings match the tested cases as well, so the
code better catches those QString variants as well, not just empty null
ones.
Makes the code looking less fragile (no special handling of null QStrings)
Details
Details
- Reviewers
apol - Group Reviewers
KDevelop - Commits
- R32:82d6729d48cf: qmljs: Make string code more robust by checking isEmpty over isNull
Tests work/fail as before ;)
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.