Skip to content

Commit 7cce7f3

Browse files
authored
Merge pull request #822 from waelkarman/issue-821-fix-segmentation-fault
fix: improve import filter by adding a space after the import statement
2 parents cc86d97 + 6c217b0 commit 7cce7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Deploy/src/qmlqt6.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ QStringList QMLQt6::extractImportsFromFile(const QString &filepath) const {
4747
{
4848
word = word.simplified();
4949
if (word.startsWith("//")) continue;
50-
if (!word.startsWith("import")) continue;
50+
if (!word.startsWith("import ")) continue;
5151

5252
imports += extractImportLine(word);
5353
}

0 commit comments

Comments
 (0)