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>
commit3a1d149c3ee1cba2a1e23936af436c27e90fd0cf
parent636399169fa13c22a6ab01021c56f411c63434a3
authorThiago Macieira <thiago.macieira@intel.com>
committerThiago Macieira <thiago.macieira@intel.com>
commit timeThu, 8 Oct 2026 16:52:26 +0000