mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
core: allow qml scanner to detect namespaced and versioned imports
This commit is contained in:
1 file changed
+1
@@ -122,6 +122,7 @@ bool QmlScanner::scanQmlFile(const QString& path) {
|
||||
while (importCursor != line.length()) {
|
||||
auto c = line.at(importCursor);
|
||||
if (c == '.') c = '/';
|
||||
else if (c == ' ') break;
|
||||
else if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')
|
||||
|| c == '_')
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user