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:
Abdelrazak Younes 2008-05-24 09:32:50 +00:00
parent 145585dc18
commit ebdd3bc0a4
2 changed files with 1 additions and 8 deletions

View File

@ -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:

View File

@ -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;