forked from qt-creator/qt-creator
Enhance IRunConfigurationAspect base interface
Move some commonly used functions to the base, The plan is to identify aspects by Id instead of type more often, so avoid casts proactively. Change-Id: I1b94b858a4491a0e31cedc788ded643a82242b2a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -155,6 +155,11 @@ void IRunConfigurationAspect::toMap(QVariantMap &map) const
|
||||
map.insert(m_id.toString() + QLatin1String(".UseGlobalSettings"), m_useGlobalSettings);
|
||||
}
|
||||
|
||||
void IRunConfigurationAspect::addToConfigurationLayout(QFormLayout *layout)
|
||||
{
|
||||
Q_UNUSED(layout);
|
||||
}
|
||||
|
||||
void IRunConfigurationAspect::setRunConfigWidgetCreator(const RunConfigWidgetCreator &runConfigWidgetCreator)
|
||||
{
|
||||
m_runConfigWidgetCreator = runConfigWidgetCreator;
|
||||
|
||||
Reference in New Issue
Block a user