mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix compilation with Qt4
This commit is contained in:
parent
5fe6bc616c
commit
3a7142d9bf
@ -980,7 +980,7 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
const QStringList utf8_base_encodings = {"utf8", "utf8-plain", "utf8x"};
|
||||
for (auto const & i : utf8_base_encodings) {
|
||||
langModule->unicodeEncodingCO->addItem(
|
||||
toqstr(encodings.fromLyXName(i.toStdString())->guiName()), i);
|
||||
toqstr(encodings.fromLyXName(fromqstr(i))->guiName()), i);
|
||||
}
|
||||
langModule->unicodeEncodingCO->setItemData(0,
|
||||
"Standard Unicode support by the ``inputenc'' package.",
|
||||
|
Loading…
Reference in New Issue
Block a user