diff --git a/src/LyX.cpp b/src/LyX.cpp index a433a21ebf..c056d03107 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -732,7 +732,7 @@ bool LyX::init() if (!LyXSetStyle()) return false; //...and the modules - moduleList.load(); + moduleList.read(); // read keymap and ui files in batch mode as well // because InsetInfo needs to know these to produce diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index 7efd0cdd92..e2471ed5e5 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -112,7 +112,7 @@ public: //Much of this is borrowed from LayoutFileList::read() -bool ModuleList::load() +bool ModuleList::read() { FileName const real_file = libFileSearch("", "lyxmodules.lst"); LYXERR(Debug::TCLASS, "Reading modules from `" << real_file << '\''); diff --git a/src/ModuleList.h b/src/ModuleList.h index 66353affe3..adee145254 100644 --- a/src/ModuleList.h +++ b/src/ModuleList.h @@ -111,7 +111,7 @@ public: /// ModuleList() {} /// reads the modules from a file generated by configure.py - bool load(); + bool read(); /// LyXModuleList::const_iterator begin() const; ///