summaryrefslogtreecommitdiffstats
path: root/kate/part/katejscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/part/katejscript.cpp')
-rw-r--r--kate/part/katejscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/katejscript.cpp b/kate/part/katejscript.cpp
index 75f5fc513..a9efac0e9 100644
--- a/kate/part/katejscript.cpp
+++ b/kate/part/katejscript.cpp
@@ -62,7 +62,7 @@ UString::UString(const TQString &d)
{
unsigned int len = d.length();
UChar *dat = new UChar[len];
- memcpy(dat, d.unicode(), len * sizeof(UChar));
+ memcpy(dat, d.tqunicode(), len * sizeof(UChar));
rep = UString::Rep::create(dat, len);
}