From eac37967cc535a3ac43a712b52b4bf73b96ec19c Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Sat, 3 Jan 2015 19:30:15 +0100 Subject: Support for watch apps, not installed on phone Needed to show app name instead of "unknown app" on the app management screen. --- daemon/manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'daemon/manager.cpp') diff --git a/daemon/manager.cpp b/daemon/manager.cpp index 6498c68..557fa07 100644 --- a/daemon/manager.cpp +++ b/daemon/manager.cpp @@ -374,7 +374,8 @@ QVariantList PebbledProxy::AllApps() const foreach (const QUuid &uuid, uuids) { const AppInfo &info = manager()->apps->info(uuid); QVariantMap m; - m.insert("uuid", QVariant::fromValue(uuid.toString())); + m.insert("local", QVariant::fromValue(info.isLocal())); + m.insert("uuid", QVariant::fromValue(info.uuid().toString())); m.insert("short-name", QVariant::fromValue(info.shortName())); m.insert("long-name", QVariant::fromValue(info.longName())); m.insert("company-name", QVariant::fromValue(info.companyName())); -- cgit v1.2.3