forked from qt-creator/qt-creator
Fix incorrect initial title of environment aspect
Change-Id: I40b7f7ca87cc69ccfea83e3d8209400b276a8878 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -93,13 +93,13 @@ void EnvironmentAspect::addSupportedBaseEnvironment(int base, const QString &dis
|
|||||||
{
|
{
|
||||||
m_displayNames[base] = displayName;
|
m_displayNames[base] = displayName;
|
||||||
if (m_base == -1)
|
if (m_base == -1)
|
||||||
m_base = base;
|
setBaseEnvironmentBase(base);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnvironmentAspect::addPreferredBaseEnvironment(int base, const QString &displayName)
|
void EnvironmentAspect::addPreferredBaseEnvironment(int base, const QString &displayName)
|
||||||
{
|
{
|
||||||
m_displayNames[base] = displayName;
|
m_displayNames[base] = displayName;
|
||||||
m_base = base;
|
setBaseEnvironmentBase(base);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnvironmentAspect::fromMap(const QVariantMap &map)
|
void EnvironmentAspect::fromMap(const QVariantMap &map)
|
||||||
|
Reference in New Issue
Block a user