forked from qt-creator/qt-creator
ProjectExplorer: Simplify retrieval of WorkingDirectoryAspect values
Drop the macroExpander argument, at the cost of complicating internal ProjectConfiguration setup a bit. Simpler code at the user side. Change-Id: Ie9ea0b719f6e402b44d9ba7ce6047aa4e15441fe Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -145,6 +145,12 @@ void ProjectConfiguration::acquaintAspects()
|
||||
aspect->acquaintSiblings(m_aspects);
|
||||
}
|
||||
|
||||
void ProjectConfiguration::doPostInit()
|
||||
{
|
||||
for (const std::function<void()> &postInit : qAsConst(m_postInit))
|
||||
postInit();
|
||||
}
|
||||
|
||||
FilePath ProjectConfiguration::mapFromBuildDeviceToGlobalPath(const FilePath &path) const
|
||||
{
|
||||
IDevice::ConstPtr dev = BuildDeviceKitAspect::device(kit());
|
||||
|
||||
Reference in New Issue
Block a user