positioning/ohos: Keep error() consistent with emitted errors
Several paths emitted errorOccurred() without updating m_error, so a
later error() call returned a stale code. Route all emissions through
setErrorHelper(), and clear the error on a successful fix.
Pick-to: 6.12
Change-Id: I1ac2e04b1772a14c631364ab6f49b83392e77945
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | d8f03025ee589c33c3c6db86a9dea91c264ab2c8 |
| parent | 1e34301f45bea3297d161a7cb30c04fb50ab8017 |
| author | Sukyoung Oh <sukyoung.oh@qt.io> |
| committer | Sukyoung Oh <sukyoung.oh@qt.io> |
| commit time | Fri, 10 Jul 2026 03:22:40 +0000 |