4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-07 15:09:35 +00:00

fix: improve import filter by adding a space after the import statement

This commit is contained in:
Wael Karman 2024-07-17 15:45:36 +02:00
parent cc86d97afb
commit 6c217b0ff4

@ -47,7 +47,7 @@ QStringList QMLQt6::extractImportsFromFile(const QString &filepath) const {
{
word = word.simplified();
if (word.startsWith("//")) continue;
if (!word.startsWith("import")) continue;
if (!word.startsWith("import ")) continue;
imports += extractImportLine(word);
}