summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2012-04-29 18:27:41 +0200
committerAlbert Astals Cid <aacid@kde.org>2012-04-29 18:27:41 +0200
commite80fd082914fe29fad7e60c321a747eb8634e413 (patch)
tree7fa3032ddec5a76cf7ea19833ccd62543ca0fc93
parent251be1787a2a003862691f5a825eb3468eceb6a2 (diff)
[qt4] the qualified name may be unicode encoded
-rw-r--r--qt4/src/poppler-form.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt4/src/poppler-form.cc b/qt4/src/poppler-form.cc
index 17037843..82309ff6 100644
--- a/qt4/src/poppler-form.cc
+++ b/qt4/src/poppler-form.cc
@@ -1,6 +1,6 @@
/* poppler-form.h: qt4 interface to poppler
* Copyright (C) 2007-2008, 2011, Pino Toscano <pino@kde.org>
- * Copyright (C) 2008, 2011, Albert Astals Cid <aacid@kde.org>
+ * Copyright (C) 2008, 2011, 2012 Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2011 Carlos Garcia Campos <carlosgc@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
@@ -115,7 +115,7 @@ QString FormField::fullyQualifiedName() const
QString name;
if (GooString *goo = m_formData->fm->getFullyQualifiedName())
{
- name = QString::fromLatin1(goo->getCString());
+ name = UnicodeParsedString(goo);
}
return name;
}