summaryrefslogtreecommitdiff
path: root/src/tools/sdktool/addkitoperation.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-07-02 10:12:38 +0300
committerOrgad Shaneh <orgads@gmail.com>2014-07-08 12:44:16 +0200
commit382b1d43eb87cbda882ed077dc21df2480b629f6 (patch)
treec88244248259170db4d6ece40a00faaecd7220e0 /src/tools/sdktool/addkitoperation.cpp
parent49986d90fc2aa3068a26bb7f4516bdc0c98ab783 (diff)
downloadqt-creator-382b1d43eb87cbda882ed077dc21df2480b629f6.tar.gz
SdkTool: Use Qt Creator doctypes
Simplify filename conversion while at it Change-Id: I0a7473aa42626a04214887f1cc82abe536233a78 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/tools/sdktool/addkitoperation.cpp')
-rw-r--r--src/tools/sdktool/addkitoperation.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/sdktool/addkitoperation.cpp b/src/tools/sdktool/addkitoperation.cpp
index 6f18d1730a..110be9951b 100644
--- a/src/tools/sdktool/addkitoperation.cpp
+++ b/src/tools/sdktool/addkitoperation.cpp
@@ -242,7 +242,7 @@ bool AddKitOperation::setArguments(const QStringList &args)
int AddKitOperation::execute() const
{
- QVariantMap map = load(QLatin1String("profiles"));
+ QVariantMap map = load(QLatin1String("Profiles"));
if (map.isEmpty())
map = initializeKits();
@@ -253,7 +253,7 @@ int AddKitOperation::execute() const
if (result.isEmpty() || map == result)
return 2;
- return save(result, QLatin1String("profiles")) ? 0 : 3;
+ return save(result, QLatin1String("Profiles")) ? 0 : 3;
}
#ifdef WITH_TESTS
@@ -510,9 +510,9 @@ QVariantMap AddKitOperation::addKit(const QVariantMap &map,
const QString &sysRoot, const QString &tc, const QString &qt,
const QString &mkspec, const KeyValuePairList &extra)
{
- QVariantMap tcMap = load(QLatin1String("toolchains"));
- QVariantMap qtMap = load(QLatin1String("qtversions"));
- QVariantMap devMap = load(QLatin1String("devices"));
+ QVariantMap tcMap = load(QLatin1String("ToolChains"));
+ QVariantMap qtMap = load(QLatin1String("QtVersions"));
+ QVariantMap devMap = load(QLatin1String("Devices"));
return addKit(map, tcMap, qtMap, devMap, id, displayName, icon, debuggerId, debuggerType,
debugger, deviceType, device, sysRoot, tc, qt, mkspec, extra);