mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Fixed YACReaderLibrary compilation under Qt5 (untested at runtime)
TODO fix YACReader compilation under Qt5 update poppler update server
This commit is contained in:
@ -30,7 +30,7 @@ TemplateLoader::TemplateLoader(QSettings* settings, QObject* parent)
|
||||
textCodec=QTextCodec::codecForLocale();
|
||||
}
|
||||
else {
|
||||
textCodec=QTextCodec::codecForName(encoding.toAscii());
|
||||
textCodec=QTextCodec::codecForName(encoding.toLatin1());
|
||||
}
|
||||
qDebug("TemplateLoader: path=%s, codec=%s",qPrintable(templatePath),textCodec->name().data());
|
||||
}
|
||||
|
Reference in New Issue
Block a user