QML Project Manager: Stop mistreating fonts

Font files were mistakenly treated as image files.

Change-Id: I0946f6f46767e541a0ff87a6b3f2969d4f6bc2d9
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Andrii Semkiv
2025-03-25 11:11:08 +01:00
parent 4f4ad2d4b9
commit 94bf781b0e
5 changed files with 3 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ QStringList imageFiles(const std::function<QString(QString)> &transformer)
{
static const QStringList suffixes = {"bmp", "dae", "gif", "hdr", "ico", "jpeg", "jpg",
"ktx", "pbm", "pgm", "png", "ppm", "svg", "svgz",
"tif", "tiff", "ttf", "webp", "xbm", "xpm", "tga"};
"tif", "tiff", "webp", "xbm", "xpm", "tga"};
if (transformer) {
QStringList result;

View File

@@ -86,7 +86,6 @@
"*.svgz",
"*.tif",
"*.tiff",
"*.ttf",
"*.webp",
"*.xbm",
"*.xpm",
@@ -119,7 +118,6 @@
"*.svgz",
"*.tif",
"*.tiff",
"*.ttf",
"*.webp",
"*.xbm",
"*.xpm",

View File

@@ -56,7 +56,6 @@
"*.svgz",
"*.tif",
"*.tiff",
"*.ttf",
"*.webp",
"*.xbm",
"*.xpm",

View File

@@ -87,7 +87,6 @@
"*.svgz",
"*.tif",
"*.tiff",
"*.ttf",
"*.webp",
"*.xbm",
"*.xpm",
@@ -120,7 +119,6 @@
"*.svgz",
"*.tif",
"*.tiff",
"*.ttf",
"*.webp",
"*.xbm",
"*.xpm",

View File

@@ -59,7 +59,6 @@
"*.svgz",
"*.tif",
"*.tiff",
"*.ttf",
"*.webp",
"*.xbm",
"*.xpm",