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:
@@ -46,9 +46,8 @@ static char SDP_PATH_KEY[] = "SDKPath";
|
||||
|
||||
QnxQtVersion::QnxQtVersion() = default;
|
||||
|
||||
QnxQtVersion::QnxQtVersion(const Utils::FileName &path, bool isAutoDetected,
|
||||
const QString &autoDetectionSource) :
|
||||
QtSupport::BaseQtVersion(path, isAutoDetected, autoDetectionSource)
|
||||
QnxQtVersion::QnxQtVersion(const Utils::FileName &path) :
|
||||
QtSupport::BaseQtVersion(path)
|
||||
{
|
||||
setUnexpandedDisplayName(defaultUnexpandedDisplayName(path, false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user