Author: switt
Date: Thu Jun  2 22:46:25 2011
New Revision: 38934
URL: http://www.lyx.org/trac/changeset/38934

Log:
Cocoa based Qt-4.6 needs to paint every character separately to match metrics 
computation, there is no Qt version dependency

Modified:
   lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp        Thu Jun  2 
21:55:08 2011        (r38933)
+++ lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp        Thu Jun  2 
22:46:25 2011        (r38934)
@@ -1824,13 +1824,6 @@
        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())

Reply via email to