probonopd 6 years ago
committed by GitHub
parent
commit
9bb5ff7274
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/linuxdeployqt/shared.cpp

2
tools/linuxdeployqt/shared.cpp

@ -1868,7 +1868,7 @@ bool deployTranslations(const QString &sourcePath, const QString &target, quint6
// Find available languages prefixes by checking on qtbase. // Find available languages prefixes by checking on qtbase.
QStringList prefixes; QStringList prefixes;
QDir sourceDir(sourcePath); QDir sourceDir(sourcePath);
const QStringList qmFilter = QStringList(QStringLiteral("qtbase_*.qm")); const QStringList qmFilter = QStringList(QStringLiteral("qt*.qm"));
foreach (QString qmFile, sourceDir.entryList(qmFilter)) { foreach (QString qmFile, sourceDir.entryList(qmFilter)) {
qmFile.chop(3); qmFile.chop(3);
qmFile.remove(0, 7); qmFile.remove(0, 7);

Loading…
Cancel
Save