aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/moduleloader.h
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-09-16 15:29:01 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-09-17 12:57:24 +0000
commit8f8a7b8110c0ebef04c3dba4075bfeb1dd3ac169 (patch)
tree5548e181a48353173bfbe3e55a77c7984b60ff34 /src/lib/corelib/language/moduleloader.h
parent575829ca20574db6f4287a674e0b14b72d09440c (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.h2
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);