From 8f8a7b8110c0ebef04c3dba4075bfeb1dd3ac169 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Wed, 16 Sep 2020 15:29:01 +0200 Subject: 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 --- src/lib/corelib/language/moduleloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/corelib/language/moduleloader.h') 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 loadModuleFile( - ProductContext *productContext, const QString &fullModuleName, bool isBaseModule, + ProductContext *productContext, const QString &fullModuleName, const QString &filePath, Item *moduleInstance); std::pair getModulePrototype(ProductContext *productContext, const QString &fullModuleName, const QString &filePath); -- cgit v1.2.3