summaryrefslogtreecommitdiffstats
path: root/sip/qt/qobject.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qobject.sip')
-rw-r--r--sip/qt/qobject.sip8
1 files changed, 4 insertions, 4 deletions
diff --git a/sip/qt/qobject.sip b/sip/qt/qobject.sip
index df82e56..b6e0387 100644
--- a/sip/qt/qobject.sip
+++ b/sip/qt/qobject.sip
@@ -369,11 +369,11 @@ public:
}
else
{
- const char *source = sipString_AsLatin1String(&a0);
+ const char *source = sipString_AsUTF8String(&a0);
if (source)
{
- sipRes = new TQString(QString::fromLatin1(source));
+ sipRes = new TQString(QString::fromUtf8(source));
Py_DECREF(a0);
}
else
@@ -402,11 +402,11 @@ public:
}
else
{
- const char *source = sipString_AsLatin1String(&a0);
+ const char *source = sipString_AsUTF8String(&a0);
if (source)
{
- sipRes = new TQString(TQString::fromLatin1(source));
+ sipRes = new TQString(TQString::fromUtf8(source));
Py_DECREF(a0);
}
else