forked from qt-creator/qt-creator
Kits: Allow for mutable KitInformation
Mutable KitInformation are those that are supposed to be editable in more user-accessible places (e.g. like the Mini Target Selector or similar) than the normal kit options page. The functionality to display these settings is not part of this patch. Change-Id: I13446c49abf89eaf739a60dbcd01c97e2144de45 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -43,4 +43,14 @@ Core::Id KitConfigWidget::kitInformationId() const
|
||||
return m_kitInformation->id();
|
||||
}
|
||||
|
||||
bool KitConfigWidget::isMutable() const
|
||||
{
|
||||
return m_kit->isMutable(m_kitInformation->id());
|
||||
}
|
||||
|
||||
void KitConfigWidget::setMutable(bool b)
|
||||
{
|
||||
m_kit->setMutable(m_kitInformation->id(), b);
|
||||
}
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
Reference in New Issue
Block a user