diff options
author | hjk <hjk@qt.io> | 2019-02-14 09:21:40 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-02-15 11:37:59 +0000 |
commit | 72d962e949564fc963f91e1b48350a091aea1bb2 (patch) | |
tree | c801890ea08f31ff2374ef261d650e019e7ae43c /src/plugins/winrt/winrtphoneqtversion.h | |
parent | f0dabc7442bca41050d48c5c43e0a7d10e649f31 (diff) | |
download | qt-creator-72d962e949564fc963f91e1b48350a091aea1bb2.tar.gz |
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 <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/winrt/winrtphoneqtversion.h')
-rw-r--r-- | src/plugins/winrt/winrtphoneqtversion.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; |