| 614 | |
| 615 | template<> |
| 616 | QTextCodec* OcdFileExport::determineEncoding<Ocd::Custom8BitEncoding>() |
| 617 | { |
| 618 | auto encoding = codecFromSettings(); |
| 619 | if (!encoding) |
| 620 | { |
| 621 | addWarning(::OpenOrienteering::OcdFileExport::tr("Encoding '%1' is not available. Check the settings.") |
| 622 | .arg(Settings::getInstance().getSetting(Settings::General_Local8BitEncoding).toString())); |
| 623 | encoding = QTextCodec::codecForLocale(); |
| 624 | } |
| 625 | return encoding; |
| 626 | } |
| 627 | |
| 628 | |
| 629 |
nothing calls this directly
no test coverage detected