mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-05-06 14:39:35 +00:00
Merge pull request #822 from waelkarman/issue-821-fix-segmentation-fault
fix: improve import filter by adding a space after the import statement
This commit is contained in:
commit
7cce7f3b05
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user