From f73249b94d94b40ffa75e644cee014055eb650cd Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Wed, 19 Jul 2023 11:03:02 +0200 Subject: [PATCH] Put arguments in correct order in syncqt parseVersion Amends 4d4e74e1bcad47476b947b6e3781b046f9505f83 Pick-to: 6.6 Change-Id: Ie3a0147b414303c528b78c20f6502b83c5102344 Reviewed-by: Alexandru Croitor --- src/tools/syncqt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp index 9f4cad6718..6f6a7c3170 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