idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "Apache" <apache AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r177 - trunk/java/ch/idok/qtgui
- Date: Fri, 15 Aug 2008 14:39:00 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: huebner AT PSI.CH
Date: Fri Aug 15 14:39:00 2008
New Revision: 177
Log:
The PreviewWidget now correctly displays Umlaute
Modified:
trunk/java/ch/idok/qtgui/PreviewWidget.java
Modified: trunk/java/ch/idok/qtgui/PreviewWidget.java
==============================================================================
--- trunk/java/ch/idok/qtgui/PreviewWidget.java (original)
+++ trunk/java/ch/idok/qtgui/PreviewWidget.java Fri Aug 15 14:39:00 2008
@@ -452,6 +452,7 @@
QFile data = new QFile(fileName_);
data.open(QIODevice.OpenModeFlag.ReadOnly);
QTextStream text = new QTextStream(data);
+ text.setCodec("ISO 8859-1");
textView_.setText(text.readAll());
data.close();
enableTextView();
- [idok-commit] idok commit r177 - trunk/java/ch/idok/qtgui, Apache, 08/15/2008
Archive powered by MHonArc 2.6.19.