From 17678d65de293ae9a8b077b5c0bc3f493c617f8b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:03:41 -0600 Subject: Rename obsolete tq methods to standard names --- src/notedrag.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/notedrag.cpp') diff --git a/src/notedrag.cpp b/src/notedrag.cpp index 67b45a3..3b4ad3d 100644 --- a/src/notedrag.cpp +++ b/src/notedrag.cpp @@ -571,8 +571,8 @@ bool ExtendedTextDrag::decode(const TQMimeSource *e, TQString &str, TQCString &s str = TQTextCodec::codecForName("utf8")->toUnicode(utf8); return true; } - if (e->provides("text/tqunicode")) { // FIXME: It's UTF-16 without order bytes!!! - TQByteArray utf16 = e->encodedData("text/tqunicode"); + if (e->provides("text/unicode")) { // FIXME: It's UTF-16 without order bytes!!! + TQByteArray utf16 = e->encodedData("text/unicode"); str = TQTextCodec::codecForName("utf16")->toUnicode(utf16); return true; } -- cgit v1.2.1