]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiApplication.cpp
The Cursor argument here was not being used, so there is no need
[lyx.git] / src / frontends / qt4 / GuiApplication.cpp
index fa31c5c4684cc7466a112a7c59f14c880d0b2979..a49a995210085e0a43c62b0d1c1b10ba000da58a 100644 (file)
@@ -41,7 +41,7 @@
 #include "Intl.h"
 #include "KeyMap.h"
 #include "Language.h"
-#include "LaTeXFeatures.h"
+#include "LaTeXPackages.h"
 #include "Lexer.h"
 #include "LyX.h"
 #include "LyXAction.h"
@@ -1211,7 +1211,7 @@ void GuiApplication::reconfigure(string const & option)
                current_view_->message(_("Reloading configuration..."));
        lyxrc.read(libFileSearch(QString(), "lyxrc.defaults"), false);
        // Re-read packages.lst
-       LaTeXFeatures::getAvailable();
+       LaTeXPackages::getAvailable();
 
        if (ret)
                Alert::information(_("System reconfiguration failed"),
@@ -1439,7 +1439,6 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr)
                }
 
                actOnUpdatedPrefs(lyxrc_orig, lyxrc);
-               setSpellChecker();
                resetGui();
 
                break;
@@ -1824,13 +1823,6 @@ void GuiApplication::createView(QString const & geometry_arg, bool autoShow,
        if (d->global_menubar_)
                d->global_menubar_->releaseKeyboard();
 
-#if QT_VERSION < 0x040700
-       // the option to disable kerning in rowpainter
-       // is needed only with Qt4.7.0 or better
-       lyxrc.force_paint_single_char = false;
-       system_lyxrc.force_paint_single_char = false;
-#endif
-
        // create new view
        int id = view_id;
        while (d->views_.find(id) != d->views_.end())