From 72d962e949564fc963f91e1b48350a091aea1bb2 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 14 Feb 2019 09:21:40 +0100 Subject: QtSupport: Simplify use of QtVersionFactory::create() Use two setters, one already pre-existing, to set autodetection data instead of passing that through the create/contructor chain. Change-Id: I8f9bdf2f82518aae765327a823bdea44210c2f96 Reviewed-by: Christian Kandeler --- src/plugins/winrt/winrtphoneqtversion.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/winrt/winrtphoneqtversion.h') diff --git a/src/plugins/winrt/winrtphoneqtversion.h b/src/plugins/winrt/winrtphoneqtversion.h index 44ec105bb6..7c2626f061 100644 --- a/src/plugins/winrt/winrtphoneqtversion.h +++ b/src/plugins/winrt/winrtphoneqtversion.h @@ -35,8 +35,7 @@ class WinRtPhoneQtVersion : public WinRtQtVersion Q_DECLARE_TR_FUNCTIONS(WinRt::Internal::WinRtQtVersion) public: WinRtPhoneQtVersion() = default; - WinRtPhoneQtVersion(const Utils::FileName &path, bool isAutodetected, - const QString &autodetectionSource); + explicit WinRtPhoneQtVersion(const Utils::FileName &path); QString description() const override; BaseQtVersion *clone() const override; -- cgit v1.2.1