aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iosqtversion.h
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/ios/iosqtversion.h
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/ios/iosqtversion.h')
-rw-r--r--src/plugins/ios/iosqtversion.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/ios/iosqtversion.h b/src/plugins/ios/iosqtversion.h
index 6d4a093ba5..a747000d55 100644
--- a/src/plugins/ios/iosqtversion.h
+++ b/src/plugins/ios/iosqtversion.h
@@ -38,8 +38,7 @@ class IosQtVersion : public QtSupport::BaseQtVersion
public:
IosQtVersion();
- IosQtVersion(const Utils::FileName &path, bool isAutodetected = false,
- const QString &autodetectionSource = QString());
+ explicit IosQtVersion(const Utils::FileName &path);
IosQtVersion *clone() const override;
QString type() const override;