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:
Tobias Hunger
2014-02-20 11:37:56 +01:00
parent 0b939667eb
commit fd2c2df87c
6 changed files with 13 additions and 13 deletions

View File

@@ -398,7 +398,7 @@ QVariantMap AddKitOperation::addKit(const QVariantMap &map,
const KeyValuePairList &extra)
{
// Sanity check: Make sure autodetection source is not in use already:
QStringList valueKeys = FindValueOperation::findValues(map, QVariant(id));
QStringList valueKeys = FindValueOperation::findValue(map, QVariant(id));
bool hasId = false;
foreach (const QString &k, valueKeys) {
if (k.endsWith(QString(QLatin1Char('/')) + QLatin1String(ID))) {