QQmlPreview: remove the ignore of :/qgradient/

The new gradient presets are no longer in the resources.
Besides, having those presets under that path was a bug -- all
Qt-related resources *must* go under :/qt-project.org/.

Change-Id: Id64225b53b65d54d1272976dadc0e12529da276e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Giuseppe D'Angelo 2019-06-14 14:31:32 +02:00
parent 312e3ee69f
commit 1989323559
2 changed files with 0 additions and 2 deletions

View File

@ -54,7 +54,6 @@ QQmlPreviewFileLoader::QQmlPreviewFileLoader(QQmlPreviewServiceImpl *service) :
m_blacklist.blacklist(":/qt-project.org");
m_blacklist.blacklist(":/QtQuick/Controls/Styles");
m_blacklist.blacklist(":/ExtrasImports/QtQuick/Controls/Styles");
m_blacklist.blacklist(":/qgradient");
// Target specific configuration should not replaced with files from the host.
m_blacklist.blacklist("/etc");

View File

@ -122,7 +122,6 @@ void checkFiles(const QStringList &files)
{
QVERIFY(!files.contains("/etc/localtime"));
QVERIFY(!files.contains("/etc/timezome"));
QVERIFY(!files.contains(":/qgradient/webgradients.binaryjson"));
}
void tst_QQmlPreview::cleanup()