]> git.lyx.org Git - features.git/commitdiff
Remove a workaround that seems to be useless since Qt 4.8
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 19 Nov 2022 19:09:59 +0000 (20:09 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 19 Nov 2022 19:09:59 +0000 (20:09 +0100)
src/frontends/qt/GuiFontLoader.cpp

index ebc38575558cdc6b2911e3e0fa2c706ecdeb25da..d980dacb55ad52cd937b57efbf9c3bd25454637e 100644 (file)
@@ -284,14 +284,6 @@ QFont makeQFont(FontInfo const & f)
                        QString family = makeFontName(toqstr(lyxrc.roman_font_name),
                                toqstr(lyxrc.roman_font_foundry));
                        font.setFamily(family);
-#ifdef Q_OS_MAC
-                       // FIXME KILLQT4: Double-check that this is fixed in Qt5
-                       // Workaround for a Qt bug, see http://www.lyx.org/trac/ticket/3684
-                       // and http://bugreports.qt.nokia.com/browse/QTBUG-11145.
-                       // FIXME: Check whether this is really fixed in Qt 4.8
-                       if (family == "Times" && !font.exactMatch())
-                               font.setFamily("Times New Roman");
-#endif
                        break;
                }
                case SANS_FAMILY: