mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
Get rid of GuiApplication::readMenus().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24922 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
145585dc18
commit
ebdd3bc0a4
@ -1035,12 +1035,6 @@ Buffer const * GuiApplication::updateInset(Inset const * inset) const
|
||||
}
|
||||
|
||||
|
||||
void GuiApplication::readMenus(Lexer & lex)
|
||||
{
|
||||
menus().read(lex);
|
||||
}
|
||||
|
||||
|
||||
bool GuiApplication::searchMenu(FuncRequest const & func,
|
||||
vector<docstring> & names) const
|
||||
{
|
||||
@ -1120,7 +1114,7 @@ bool GuiApplication::readUIFile(string const & name, bool include)
|
||||
break;
|
||||
}
|
||||
case ui_menuset:
|
||||
readMenus(lex);
|
||||
d->menus_.read(lex);
|
||||
break;
|
||||
|
||||
case ui_toolbarset:
|
||||
|
@ -64,7 +64,6 @@ public:
|
||||
bool event(QEvent * e);
|
||||
bool getRgbColor(ColorCode col, RGBColor & rgbcol);
|
||||
std::string const hexName(ColorCode col);
|
||||
void readMenus(Lexer & lex);
|
||||
void registerSocketCallback(int fd, SocketCallback func);
|
||||
void unregisterSocketCallback(int fd);
|
||||
bool searchMenu(FuncRequest const & func, std::vector<docstring> & names) const;
|
||||
|
Loading…
Reference in New Issue
Block a user