QmlJS: Fix implicit "." import when . has a QML module.

Reviewed-by: Erik Verbruggen
This commit is contained in:
Christian Kamm
2011-03-10 14:49:38 +01:00
parent ffd6d307a0
commit b980a9b964
7 changed files with 188 additions and 141 deletions

View File

@@ -616,7 +616,7 @@ public:
static const QLatin1String cppPackage;
template <typename T>
void load(Interpreter::Engine *interpreter, const T &objects);
QList<QmlObjectValue *> load(Interpreter::Engine *interpreter, const T &objects);
QList<Interpreter::QmlObjectValue *> typesForImport(const QString &prefix, LanguageUtils::ComponentVersion version) const;
Interpreter::QmlObjectValue *typeByCppName(const QString &cppName) const;
@@ -982,7 +982,6 @@ public:
enum Type {
InvalidImport,
ImplicitDirectoryImport,
ImplicitLibraryImport,
LibraryImport,
FileImport,
DirectoryImport,