1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Added support for non-latin characters, fixes Bug #515

This commit is contained in:
Pieter van der Kloet 2013-02-24 03:14:19 +01:00
parent 9198afeefb
commit be43fa334f

View file

@ -1,4 +1,5 @@
#include <QApplication>
#include <QTextCodec>
#include <QDir>
#include "maindialog.hpp"
@ -29,6 +30,9 @@ int main(int argc, char *argv[])
QDir::setCurrent(dir.absolutePath());
// Support non-latin characters
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
MainDialog mainWin;
if (mainWin.setup()) {