From 16ddb4d6ca5742aa36112f187e36a039a7357460 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Wed, 7 Jan 2015 00:37:15 +0100 Subject: Refactored whole app handling into AppInfo class --- daemon/manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon/manager.cpp') diff --git a/daemon/manager.cpp b/daemon/manager.cpp index 557fa07..7a3239f 100644 --- a/daemon/manager.cpp +++ b/daemon/manager.cpp @@ -382,8 +382,8 @@ QVariantList PebbledProxy::AllApps() const m.insert("version-label", QVariant::fromValue(info.versionLabel())); m.insert("is-watchface", QVariant::fromValue(info.isWatchface())); - if (!info.menuIcon().isNull()) { - m.insert("menu-icon", QVariant::fromValue(info.menuIconAsPng())); + if (!info.getMenuIconImage().isNull()) { + m.insert("menu-icon", QVariant::fromValue(info.getMenuIconPng())); } l.append(QVariant::fromValue(m)); -- cgit v1.2.3