aboutsummaryrefslogtreecommitdiffstats
path: root/launcher/src/applicationmodel.cpp
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-02-20 10:47:29 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2019-02-20 10:47:29 +0800
commitaef934a1644b60a173544fcd5326968057b69876 (patch)
treeef5a2e9d7205a2740425f8b72c09da23413ddfda /launcher/src/applicationmodel.cpp
parent68d109f3c891ed4177541102a70a74824141599b (diff)
Change-Id: Ibf603d51e79b2082d9d0d1442a56246bb0e4865c
Diffstat (limited to 'launcher/src/applicationmodel.cpp')
-rw-r--r--launcher/src/applicationmodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/src/applicationmodel.cpp b/launcher/src/applicationmodel.cpp
index a148505..60c2e94 100644
--- a/launcher/src/applicationmodel.cpp
+++ b/launcher/src/applicationmodel.cpp
@@ -180,7 +180,6 @@ void ApplicationModel::updateApplist(QStringList info)
QString icon = info.at(0);
QString name = info.at(1);
QString id = info.at(2);
- QString appid = id.split('@')[0];
beginResetModel();
if(icon == "") { // uninstall
@@ -195,6 +194,7 @@ void ApplicationModel::updateApplist(QStringList info)
void ApplicationModel::initAppList(QString data)
{
+ HMI_DEBUG("launcher","init application list.");
beginResetModel();
QJsonDocument japps = QJsonDocument::fromJson(data.toUtf8());
for (auto const &app : japps.array()) {
@@ -204,7 +204,6 @@ void ApplicationModel::initAppList(QString data)
auto const icon = get_icon_name(jso);
d->addApp(icon, name, id);
- HMI_DEBUG("launcher","name: %s icon: %s id: %s.", name.toStdString().c_str(), icon.toStdString().c_str(), id.toStdString().c_str());
}
endResetModel();
}