probonopd
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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.
|
|
|
|
QStringList prefixes; |
|
|
|
QDir sourceDir(sourcePath); |
|
|
|
const QStringList qmFilter = QStringList(QStringLiteral("qtbase_*.qm")); |
|
|
|
const QStringList qmFilter = QStringList(QStringLiteral("qt*.qm")); |
|
|
|
foreach (QString qmFile, sourceDir.entryList(qmFilter)) { |
|
|
|
qmFile.chop(3); |
|
|
|
qmFile.remove(0, 7); |
|
|
|