Use newly-added QFileInfo::isNativePath
authorJoão Abecasis <joao.abecasis@nokia.com>
Sat, 4 Feb 2012 00:00:51 +0000 (01:00 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 14 Feb 2012 01:48:35 +0000 (02:48 +0100)
commit731da2a6abf8139600ff3d79875f47756df290b3
treeeb5dd8dcf7b78cff699cf522b2ebba48c43f6d34
parent5c637e9171975a86ec1a3982579cd6f371b1d5ce
Use newly-added QFileInfo::isNativePath

Don't indirect over internal API.

With QAbstractFileEngine and friends on the way out, QFile is losing its
(marked internal) virtual fileEngine() function and the file engine
can't be queried for LocalDiskFlag. That information is now available
through QFileInfo, instead.

Change-Id: I48827a96fd8cd748055ad5f075912fc8e1c5ef7f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/text/qfontdatabase.cpp
src/gui/text/qfontengine_ft.cpp