diff options
author | David García Garzón <voki@canvoki.net> | 2020-01-05 19:53:04 +0100 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2020-01-05 19:24:06 +0000 |
commit | a9ef3cb7dd991ab935ad08f75ae4fc85bb594c78 (patch) | |
tree | 79078b263fc969941d0b806d3f54249dfc9cf183 | |
parent | 9de38e9f0125dd5636e03847abc13e8a1c89d232 (diff) |
Accepting UTF-16 uiNames for form fields
-rw-r--r-- | qt5/src/poppler-form.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt5/src/poppler-form.cc b/qt5/src/poppler-form.cc index 5917e0a7..2f6948d4 100644 --- a/qt5/src/poppler-form.cc +++ b/qt5/src/poppler-form.cc @@ -173,7 +173,7 @@ QString FormField::uiName() const QString name; if (const GooString *goo = m_formData->fm->getAlternateUiName()) { - name = QString::fromLatin1(goo->c_str()); + name = UnicodeParsedString(goo); } return name; } |