forked from qt-creator/qt-creator
SDKtool: Rename findValues method to findValue
It only searches for one value. Change-Id: If780de3a919c41a03c9c0a978688fd1ea0411eb9 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -225,7 +225,7 @@ QVariantMap AddToolChainOperation::addToolChain(const QVariantMap &map,
|
||||
const QString &supportedAbis, const KeyValuePairList &extra)
|
||||
{
|
||||
// Sanity check: Does the Id already exist?
|
||||
QStringList valueKeys = FindValueOperation::findValues(map, id);
|
||||
QStringList valueKeys = FindValueOperation::findValue(map, id);
|
||||
bool hasId = false;
|
||||
foreach (const QString &k, valueKeys) {
|
||||
if (k.endsWith(QString(QLatin1Char('/')) + QLatin1String(ID))) {
|
||||
|
||||
Reference in New Issue
Block a user