McuSupport: Add override keyword to McuPackage::setPath()

Change-Id: Ib982d9e9da4dd6e9ae0d5f87ae29d884c556ebbb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Piotr Mućko
2022-08-18 16:44:49 +02:00
parent cd36947561
commit ae69073fc1

View File

@@ -45,8 +45,7 @@ class InfoLabel;
class Id; class Id;
} // namespace Utils } // namespace Utils
namespace McuSupport { namespace McuSupport::Internal {
namespace Internal {
class McuPackage : public McuAbstractPackage class McuPackage : public McuAbstractPackage
{ {
@@ -90,7 +89,7 @@ public:
QWidget *widget() override; QWidget *widget() override;
const McuPackageVersionDetector *getVersionDetector() const override; const McuPackageVersionDetector *getVersionDetector() const override;
void setPath(const Utils::FilePath &); void setPath(const Utils::FilePath &) override;
private: private:
void updatePath(); void updatePath();
@@ -149,7 +148,6 @@ private:
const ToolChainType m_type; const ToolChainType m_type;
}; };
} // namespace Internal } // namespace McuSupport::Internal
} // namespace McuSupport
Q_DECLARE_METATYPE(McuSupport::Internal::McuToolChainPackage::ToolChainType) Q_DECLARE_METATYPE(McuSupport::Internal::McuToolChainPackage::ToolChainType)