diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-21 12:03:22 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-21 12:03:22 +0200 |
commit | 2bbcfa3423ce6331745fef31c8fcfed310f1875f (patch) | |
tree | e0941f4150b26d8293f854abd2e83474db5cc18d /plugingui/mainwindow.cc | |
parent | af01e8e8031bc9c0c29cc3afe17a63fded5dbeeb (diff) |
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.
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r-- | plugingui/mainwindow.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 <version.h> #include "painter.h" +#include "utf8.h" #include <string> @@ -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( |