changeset 110:48141e3c8903

Set textcodec for user env file to UTF-8
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 08 Dec 2016 15:24:25 +0100
parents 0ad468912ff3
children e6b8f1590a01
files src/folderselectdialog.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/folderselectdialog.cpp	Thu Dec 08 15:23:38 2016 +0100
+++ b/src/folderselectdialog.cpp	Thu Dec 08 15:24:25 2016 +0100
@@ -236,7 +236,7 @@
         return ret;
     }
     QTextStream in(&file);
-
+    in.setCodec("UTF-8");
     while (!in.atEnd()) {
         QString line = in.readLine();
         int equalsign = line.indexOf("=");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)