MCPcopy Create free account
hub / github.com/KDAB/GammaRay / foreach

Function foreach

common/translator.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 delete translator;
55
56 foreach (const QString &name, uiLocale.uiLanguages()) {
57 const QString fileName = QStringLiteral("%1_%2.qm").arg(catalog, name);
58 const QString filePath = dir.filePath(fileName);
59 if (QFile::exists(filePath)) {
60 return;
61 }
62 }
63 }
64
65 if (locale.language() != QLocale::C && locale.language() != QLocale::English)

Callers

nothing calls this directly

Calls 1

filePathMethod · 0.45

Tested by

no test coverage detected