[LyX/master] Fix compilation with Qt < 5.12
Juergen Spitzmueller <[email protected]> Mon, 20 Jul 2026 06:40:09 +0000
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit a7d6879ea20620668d3919e59024dc59f327fb35 Author: Juergen Spitzmueller <[email protected]> Date: Mon Jul 20 08:39:43 2026 +0200 Fix compilation with Qt < 5.12 --- src/frontends/qt/GuiDocument.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index 908b3f855f..fb38039e6f 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -5244,7 +5244,7 @@ void GuiDocument::paramsToDialog() QList<QTreeWidgetItem *> specialScriptFontItems; for (auto const & itt : bp_.special_fonts_roman) { QString const scname = toqstr(itt.first); - if (scname.isLower()) { + if (scname == scname.toLower()) { QTreeWidgetItem * item = new QTreeWidgetItem(fontSpecialModule->langFontsTW); Language const * l = languages.getLanguage(itt.first); if (l == nullptr) @@ -5281,7 +5281,7 @@ void GuiDocument::paramsToDialog() } for (auto const & itt : bp_.special_fonts_sans) { QString const scname = toqstr(itt.first); - if (scname.isLower()) { + if (scname == scname.toLower()) { QTreeWidgetItem * item = new QTreeWidgetItem(fontSpecialModule->langFontsTW); Language const * l = languages.getLanguage(itt.first); if (l == nullptr) @@ -5322,7 +5322,7 @@ void GuiDocument::paramsToDialog() } for (auto const & itt : bp_.special_fonts_typewriter) { QString const scname = toqstr(itt.first); - if (scname.isLower()) { + if (scname == scname.toLower()) { QTreeWidgetItem * item = new QTreeWidgetItem(fontSpecialModule->langFontsTW); Language const * l = languages.getLanguage(itt.first); if (l == nullptr) -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs