Helps in case the 'file::' prefix is missing from local file URLs
on Windows. 'C:\foo' is then interpreted as URL with protocol
'c', causing an error.
Change-Id: I252ab453a7ce241f3bd290ef59d3106110146662
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
else
emit fontDownloaded(QString(), QQuickFontLoader::Error);
} else {
+ qWarning("%s: Unable to load font '%s': %s", Q_FUNC_INFO,
+ qPrintable(reply->url().toString()), qPrintable(reply->errorString()));
emit fontDownloaded(QString(), QQuickFontLoader::Error);
}
reply->deleteLater();