Commit d1dd20aa authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix parsing of old settings with sdktool

With commit 5aba7fb0 the sdktool started to save id's in a QString
(instead of a QByteArray). Commit b2e3f026

 then adapted also the
parsing. However, this broke the parsing of existing settings still
using a QByteArray.

Task-number: QTCREATORBUG-14545
Change-Id: I6c991d9d130602c7e9b3146b4d7b17555056a8ef
Reviewed-by: default avatarEike Ziller <>
Reviewed-by: default avatarTobias Hunger <>
parent e869d794
......@@ -281,6 +281,8 @@ QVariantMap AddToolChainOperation::initializeToolChains()
bool AddToolChainOperation::exists(const QVariantMap &map, const QString &id)
QStringList valueKeys = FindValueOperation::findValue(map, id);
// support old settings using QByteArray for id's
valueKeys.append(FindValueOperation::findValue(map, id.toUtf8()));
foreach (const QString &k, valueKeys) {
if (k.endsWith(QString(QLatin1Char('/')) + QLatin1String(ID))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment