forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -50,8 +50,8 @@ AndroidQtVersion::AndroidQtVersion()
|
||||
{
|
||||
}
|
||||
|
||||
AndroidQtVersion::AndroidQtVersion(const Utils::FileName &path, bool isAutodetected, const QString &autodetectionSource)
|
||||
: QtSupport::BaseQtVersion(path, isAutodetected, autodetectionSource)
|
||||
AndroidQtVersion::AndroidQtVersion(const Utils::FileName &path)
|
||||
: QtSupport::BaseQtVersion(path)
|
||||
{
|
||||
setUnexpandedDisplayName(defaultUnexpandedDisplayName(path, false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user