mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 21:45:23 +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,
|
bool GuiApplication::searchMenu(FuncRequest const & func,
|
||||||
vector<docstring> & names) const
|
vector<docstring> & names) const
|
||||||
{
|
{
|
||||||
@ -1120,7 +1114,7 @@ bool GuiApplication::readUIFile(string const & name, bool include)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ui_menuset:
|
case ui_menuset:
|
||||||
readMenus(lex);
|
d->menus_.read(lex);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ui_toolbarset:
|
case ui_toolbarset:
|
||||||
|
@ -64,7 +64,6 @@ public:
|
|||||||
bool event(QEvent * e);
|
bool event(QEvent * e);
|
||||||
bool getRgbColor(ColorCode col, RGBColor & rgbcol);
|
bool getRgbColor(ColorCode col, RGBColor & rgbcol);
|
||||||
std::string const hexName(ColorCode col);
|
std::string const hexName(ColorCode col);
|
||||||
void readMenus(Lexer & lex);
|
|
||||||
void registerSocketCallback(int fd, SocketCallback func);
|
void registerSocketCallback(int fd, SocketCallback func);
|
||||||
void unregisterSocketCallback(int fd);
|
void unregisterSocketCallback(int fd);
|
||||||
bool searchMenu(FuncRequest const & func, std::vector<docstring> & names) const;
|
bool searchMenu(FuncRequest const & func, std::vector<docstring> & names) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user