ProjectExplorer: Drop KitAspect::defaultValue()

The functionality of this function overlapped with KitAspect::setup(),
leading to unclear responsibilities and resulting in bugs such as the
one fixed by 776d54e435.
Therefore, we drop the defaultValue() function, merging its
implementation with setup() where applicable.

Change-Id: Iefa9c3df8b76e97ddf9ad388516621f7ea6558d4
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-03-12 16:50:39 +01:00
parent e80d83cb20
commit d4565be655
17 changed files with 29 additions and 68 deletions

View File

@@ -91,12 +91,6 @@ QmakeKitAspect::QmakeKitAspect()
setPriority(24000);
}
QVariant QmakeKitAspect::defaultValue(const Kit *k) const
{
Q_UNUSED(k);
return QString();
}
QList<Task> QmakeKitAspect::validate(const Kit *k) const
{
QList<Task> result;