From bf31934b1916c6b8511e6daecec2a3d2748983ea Mon Sep 17 00:00:00 2001
From: pei-jiankang <peijiankang@kylinos.cn>
Date: Tue, 22 Feb 2022 13:11:24 +0800
Subject: [PATCH] modify lupdate-qt5 run error

---
 src/linguist/lupdate/main.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/linguist/lupdate/main.cpp b/src/linguist/lupdate/main.cpp
index 104971e..8252354 100644
--- a/src/linguist/lupdate/main.cpp
+++ b/src/linguist/lupdate/main.cpp
@@ -963,7 +963,8 @@ int main(int argc, char **argv)
 
     QString errorString;
     if (!proFiles.isEmpty()) {
-        runQtTool(QStringLiteral("lupdate-pro"), app.arguments().mid(1));
+        proFiles += app.arguments().mid(2);
+	runQtTool(QStringLiteral("lupdate-pro"), proFiles);
         return 0;
     }
 
-- 
2.33.0

