aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
authorBocklage, Jens <Jens_Bocklage@mentor.com>2016-11-09 16:14:53 +0100
committerBocklage, Jens <Jens_Bocklage@mentor.com>2016-11-09 16:14:53 +0100
commit557bdea00ff9a398f0646fdcae653791c9cb640c (patch)
treed673bd8891346d67ad9bac959c500752c9d917ca /interfaces
parent61d3f0e1e2210d6108953b0433324a3365d9dab6 (diff)
Fix for AppInfo member initialization.
Only one Layout for CES2017 needed. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'interfaces')
-rw-r--r--interfaces/src/appframework.cpp16
1 files changed, 8 insertions, 8 deletions
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)