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
This commit is contained in:
Stephan Witt 2011-06-02 20:46:25 +00:00
parent f76d28c118
commit af92f60df9

View 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())