]> git.lyx.org Git - features.git/commitdiff
Get rid of GuiApplication::readMenus().
authorAbdelrazak Younes <younes@lyx.org>
Sat, 24 May 2008 09:32:50 +0000 (09:32 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 24 May 2008 09:32:50 +0000 (09:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24922 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiApplication.h

index 80f4fe44836f0a23884d8a60b4edf7ef01fc07f5..9a6191a830cb1eb38fa1671408ae16f60a6f44c4 100644 (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:
index e36934d35de54d9179d251721c5e9a26677192eb..cafa489436a34dfbbaa291417975e9dd8f3276fb 100644 (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;