QQmlFile: use QUrl::isLocalFile()
It's faster than comparing the scheme() to "file", because QUrl caches
whether it is a local file or not.
Pick-to: 6.12
Change-Id: I05743ecb623300f73ccafffd5c430cb77df9969b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| commit | 3a1d149c3ee1cba2a1e23936af436c27e90fd0cf |
| parent | 636399169fa13c22a6ab01021c56f411c63434a3 |
| author | Thiago Macieira <thiago.macieira@intel.com> |
| committer | Thiago Macieira <thiago.macieira@intel.com> |
| commit time | Thu, 8 Oct 2026 16:52:26 +0000 |