summaryrefslogtreecommitdiff
path: root/packages/notez/notez-1.1.0/fix-encoding.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/notez/notez-1.1.0/fix-encoding.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/notez/notez-1.1.0/fix-encoding.patch')
-rw-r--r--packages/notez/notez-1.1.0/fix-encoding.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/notez/notez-1.1.0/fix-encoding.patch b/packages/notez/notez-1.1.0/fix-encoding.patch
index e69de29bb2..54e809b431 100644
--- a/packages/notez/notez-1.1.0/fix-encoding.patch
+++ b/packages/notez/notez-1.1.0/fix-encoding.patch
@@ -0,0 +1,18 @@
+--- notez-1.1.0/editWindow.cpp.orig 2002-11-17 17:40:08 +0100
++++ notez-1.1.0/editWindow.cpp 2004-12-22 14:02:13 +0100
+@@ -32,6 +32,7 @@
+ } else {
+
+ QTextStream inStream(&datei);
++ inStream.setEncoding(QTextStream::UnicodeUTF8);
+ editArea->setText(inStream.read());
+ datei.close();
+
+@@ -53,6 +54,7 @@
+ } else {
+
+ QTextStream outStream(&datei);
++ outStream.setEncoding(QTextStream::UnicodeUTF8);
+ outStream << editArea->text();
+ datei.close();
+ this->accept();