McuSupport: Fix compile

Amends 5be5f7a331.

Change-Id: I3261c68aae0521dca38679e54e7775184ea623ff
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2022-07-11 10:54:14 +02:00
parent c37e69ee2c
commit 53a28c7080

View File

@@ -61,7 +61,7 @@ const static QMap<QString, McuToolChainPackage::ToolChainType> toolchainTypeMapp
McuPackageVersionDetector *createVersionDetection(const VersionDetection &versionDetection)
{
if (!versionDetection.xmlElement.isEmpty() and !versionDetection.xmlAttribute.isEmpty())
if (!versionDetection.xmlElement.isEmpty() && !versionDetection.xmlAttribute.isEmpty())
return new McuPackageXmlVersionDetector{versionDetection.filePattern,
versionDetection.xmlElement,
versionDetection.xmlAttribute,