]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
Tweaks.
[lyx.git] / src / LyX.cpp
index 86de26628eed5ad8907e85d6199443550c596de3..e12d859f403e796f4e330e8a5ff3c0443a65ec60 100644 (file)
@@ -52,7 +52,6 @@
 #include "support/filetools.h"
 #include "support/gettext.h"
 #include "support/lstrings.h"
-#include "support/lyxlib.h"
 #include "support/Messages.h"
 #include "support/os.h"
 #include "support/Package.h"
@@ -531,7 +530,7 @@ int LyX::init(int & argc, char * argv[])
                // the filename if necessary
                pimpl_->files_to_load_.push_back(fileSearch(string(),
                        os::internal_path(to_utf8(from_local8bit(argv[argi]))),
-                       "lyx", allow_unreadable));
+                       "lyx", may_not_exist));
        }
 
        if (first_start)
@@ -1110,7 +1109,7 @@ bool LyX::readUIFile(string const & name, bool include)
                        break;
                }
                case ui_menuset:
-                       menubackend.read(lex);
+                       theApp()->menuBackend().read(lex);
                        break;
 
                case ui_toolbarset: