aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/winrt/winrtqtversion.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-02-14 09:21:40 +0100
committerhjk <hjk@qt.io>2019-02-15 11:37:59 +0000
commit72d962e949564fc963f91e1b48350a091aea1bb2 (patch)
treec801890ea08f31ff2374ef261d650e019e7ae43c /src/plugins/winrt/winrtqtversion.cpp
parentf0dabc7442bca41050d48c5c43e0a7d10e649f31 (diff)
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/winrtqtversion.cpp')
-rw-r--r--src/plugins/winrt/winrtqtversion.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/winrt/winrtqtversion.cpp b/src/plugins/winrt/winrtqtversion.cpp
index 082eafd1e9..cff8c9b7c7 100644
--- a/src/plugins/winrt/winrtqtversion.cpp
+++ b/src/plugins/winrt/winrtqtversion.cpp
@@ -33,9 +33,8 @@
namespace WinRt {
namespace Internal {
-WinRtQtVersion::WinRtQtVersion(const Utils::FileName &path, bool isAutodetected,
- const QString &autodetectionSource)
- : BaseQtVersion(path, isAutodetected, autodetectionSource)
+WinRtQtVersion::WinRtQtVersion(const Utils::FileName &path)
+ : BaseQtVersion(path)
{
setUnexpandedDisplayName(defaultUnexpandedDisplayName(path, false));
}