QmlPreview: Add missing shader suffixes

Change-Id: I78f8ddea5de5fa01fb69de62d47587254b9daae8
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Thomas Hartmann
2020-12-15 13:27:41 +01:00
parent 663827478a
commit 7dd067979a

View File

@@ -100,10 +100,13 @@ static QByteArray defaultFileLoader(const QString &filename, bool *success)
static bool defaultFileClassifier(const QString &filename)
{
const QStringList list = {
".glsl",
".glslv",
".glslf",
".vsh",
".fsh",
".frag",
".vert",
"qtquickcontrols2.conf" };
for (const QString &suffix : list)