summaryrefslogtreecommitdiffstats
path: root/src/windeployqt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windeployqt/main.cpp')
-rw-r--r--src/windeployqt/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index f1a53b0d7..3fe672690 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -889,6 +889,7 @@ static bool deployTranslations(const QString &sourcePath, quint64 usedQtModules,
const QString binary = QStringLiteral("lconvert");
QStringList arguments;
foreach (const QString &prefix, prefixes) {
+ arguments.clear();
const QString targetFile = QStringLiteral("qt_") + prefix + QStringLiteral(".qm");
arguments.append(QStringLiteral("-o"));
arguments.append(QDir::toNativeSeparators(absoluteTarget + QLatin1Char('/') + targetFile));