]> git.lyx.org Git - lyx.git/commitdiff
Cocoa based Qt-4.6 needs to paint every character separately to match metrics computa...
authorStephan Witt <switt@lyx.org>
Thu, 2 Jun 2011 20:46:25 +0000 (20:46 +0000)
committerStephan Witt <switt@lyx.org>
Thu, 2 Jun 2011 20:46:25 +0000 (20:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38934 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index fa31c5c4684cc7466a112a7c59f14c880d0b2979..ccd743f72fb91c749c5ea068a6feda342c7ee15a 100644 (file)
@@ -1824,13 +1824,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())