From: Stephan Witt Date: Thu, 2 Jun 2011 20:46:25 +0000 (+0000) Subject: Cocoa based Qt-4.6 needs to paint every character separately to match metrics computa... X-Git-Tag: 2.1.0beta1~3127 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=af92f60df99994db9f88663a62fa276022b3b2b2;p=lyx.git Cocoa based Qt-4.6 needs to paint every character separately to match metrics computation, there is no Qt version dependency git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38934 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index fa31c5c468..ccd743f72f 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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())