forked from qt-creator/qt-creator
QmlPreview: Add missing shader suffixes
Change-Id: I78f8ddea5de5fa01fb69de62d47587254b9daae8 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -100,10 +100,13 @@ static QByteArray defaultFileLoader(const QString &filename, bool *success)
|
|||||||
static bool defaultFileClassifier(const QString &filename)
|
static bool defaultFileClassifier(const QString &filename)
|
||||||
{
|
{
|
||||||
const QStringList list = {
|
const QStringList list = {
|
||||||
|
".glsl",
|
||||||
".glslv",
|
".glslv",
|
||||||
".glslf",
|
".glslf",
|
||||||
".vsh",
|
".vsh",
|
||||||
".fsh",
|
".fsh",
|
||||||
|
".frag",
|
||||||
|
".vert",
|
||||||
"qtquickcontrols2.conf" };
|
"qtquickcontrols2.conf" };
|
||||||
|
|
||||||
for (const QString &suffix : list)
|
for (const QString &suffix : list)
|
||||||
|
Reference in New Issue
Block a user