4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-05 22:19:36 +00:00

Merge pull request from waelkarman/issue-821-fix-segmentation-fault

fix: improve import filter by adding a space after the import statement
This commit is contained in:
Andrei Yankovich 2024-07-17 16:59:23 +03:00 committed by GitHub
commit 7cce7f3b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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);
}