diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-09-16 15:29:01 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-09-17 12:57:24 +0000 |
commit | 8f8a7b8110c0ebef04c3dba4075bfeb1dd3ac169 (patch) | |
tree | 5548e181a48353173bfbe3e55a77c7984b60ff34 /src/lib/corelib/language/moduleloader.h | |
parent | 575829ca20574db6f4287a674e0b14b72d09440c (diff) |
Remove the isBaseModule argument from loadModuleFile()
Pass the fullName to the isBaseModule() function so the value can be
calculated where it is needed.
Change-Id: I4f4574818fd335d67d72bf307276bacf18cfd89b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/language/moduleloader.h')
-rw-r--r-- | src/lib/corelib/language/moduleloader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/language/moduleloader.h b/src/lib/corelib/language/moduleloader.h index b6d8143e0..df853e77f 100644 --- a/src/lib/corelib/language/moduleloader.h +++ b/src/lib/corelib/language/moduleloader.h @@ -321,7 +321,7 @@ private: FallbackMode fallbackMode, bool isRequired, Item *moduleInstance); QStringList &getModuleFileNames(const QString &dirPath); std::pair<Item *, bool> loadModuleFile( - ProductContext *productContext, const QString &fullModuleName, bool isBaseModule, + ProductContext *productContext, const QString &fullModuleName, const QString &filePath, Item *moduleInstance); std::pair<Item *, bool> getModulePrototype(ProductContext *productContext, const QString &fullModuleName, const QString &filePath); |