MCPcopy Create free account
hub / github.com/QNapi/qnapi / uiLanguage

Method uiLanguage

libqnapi/src/libqnapi.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79QString LibQNapi::uiLanguage(const GeneralConfig& generalConfig) {
80 if (generalConfig.uiLanguage().isEmpty()) {
81 return QLocale::system().name();
82 } else {
83 return generalConfig.uiLanguage();
84 }
85}
86
87QSharedPointer<const SubtitleDownloadEnginesRegistry>
88LibQNapi::subtitleDownloadEngineRegistry() {

Callers 1

readConfigMethod · 0.45

Calls 1

nameMethod · 0.80

Tested by

no test coverage detected