summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-07-19 11:03:02 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-07-19 14:16:55 +0200
commitf73249b94d94b40ffa75e644cee014055eb650cd (patch)
tree4785aad3b66a4f64647dc994ffc5e279ead6ea2b /src
parent061ab84e98a3457c361287084e0c1e9a396ab197 (diff)
Put arguments in correct order in syncqt parseVersion
Amends 4d4e74e1bcad47476b947b6e3781b046f9505f83 Pick-to: 6.6 Change-Id: Ie3a0147b414303c528b78c20f6502b83c5102344 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/tools/syncqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp
index 9f4cad6718e..6f6a7c31701 100644
--- a/src/tools/syncqt/main.cpp
+++ b/src/tools/syncqt/main.cpp
@@ -1493,7 +1493,7 @@ public:
versionDisclaimer = " and will be removed in Qt " + version;
int minor = 0;
int major = 0;
- if (!utils::parseVersion(version, minor, major)) {
+ if (!utils::parseVersion(version, major, minor)) {
std::cerr << ErrorMessagePreamble
<< "Invalid version format specified for the deprecated header file "
<< headerName << ": '" << version