From 2bbcfa3423ce6331745fef31c8fcfed310f1875f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 21 Apr 2017 12:03:22 +0200 Subject: Add utf8 to latin1 conversion to use it in the "About" textfield. The utf8 conversion files were taken from the Pracro repository and modified to better fit into the DG codebase. --- plugingui/mainwindow.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugingui/mainwindow.cc') diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index dde0ef0..c8cfb71 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -30,6 +30,7 @@ #include #include "painter.h" +#include "utf8.h" #include @@ -158,7 +159,7 @@ std::string MainWindow::getAboutText() " Authors\n" "=============\n" "\n"); - about_text.append(authors.data()); + about_text.append(UTF8().toLatin1(authors.data())); // GPL about_text.append( -- cgit v1.2.3