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/ios/iosqtversion.h | |
parent | f0dabc7442bca41050d48c5c43e0a7d10e649f31 (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.h | 3 |
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; |