X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=interfaces%2Fsrc%2Fappframework.cpp;h=15c57c0cb99dc502801da80958272dbbc19dd422;hb=f15a0c90d9514d1edf77b390076ae92d7a99a0ab;hp=40515d5a439bd1478144f56c12f90cdba197edac;hpb=dd8c90f87463d370c3076e13b7c6cc0e27c0d2f5;p=staging%2FHomeScreen.git diff --git a/interfaces/src/appframework.cpp b/interfaces/src/appframework.cpp index 40515d5..15c57c0 100644 --- a/interfaces/src/appframework.cpp +++ b/interfaces/src/appframework.cpp @@ -28,14 +28,14 @@ AppInfo::~AppInfo() void AppInfo::read(const QJsonObject &json) { id = json["id"].toString(); - version = json["id"].toString(); - width = json["id"].toInt(); - height = json["id"].toInt(); - name = json["id"].toString(); - description = json["id"].toString(); - shortname = json["id"].toString(); - author = json["id"].toString(); - iconPath = json["id"].toString(); + version = json["version"].toString(); + width = json["width"].toInt(); + height = json["height"].toInt(); + name = json["name"].toString(); + description = json["description"].toString(); + shortname = json["shortname"].toString(); + author = json["author"].toString(); + iconPath = json["iconPath"].toString(); } QDBusArgument &operator <<(QDBusArgument &argument, const AppInfo &mAppInfo)