forked from qt-creator/qt-creator
QbsProjectManager: Fix one more build key inconsistency
Amends 26e4a2a758.
Fixes: QTCREATORBUG-23841
Change-Id: Ie297f8e2b6a79f6bafa709bf3a0285c9ce6e03ab
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -142,7 +142,13 @@ QString QbsProductNode::fullDisplayName() const
|
||||
|
||||
QString QbsProductNode::buildKey() const
|
||||
{
|
||||
return fullDisplayName();
|
||||
return getBuildKey(productData());
|
||||
}
|
||||
|
||||
QString QbsProductNode::getBuildKey(const QJsonObject &product)
|
||||
{
|
||||
return product.value("name").toString() + '.'
|
||||
+ product.value("multiplex-configuration-id").toString();
|
||||
}
|
||||
|
||||
QVariant QbsProductNode::data(Core::Id role) const
|
||||
|
||||
Reference in New Issue
Block a user