summaryrefslogtreecommitdiffstats
path: root/app/src/nativeappmodel.cpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-22 14:48:25 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-22 14:48:25 +0900
commit94db06ff082d2b5e1ad99ed52c844dcec0d070ca (patch)
treeaafd38d58cde9f24055df218b970e2bf493a042c /app/src/nativeappmodel.cpp
parent31e4ddecb2e704ab81303568102f786ea727d0cf (diff)
change blank icons
Diffstat (limited to 'app/src/nativeappmodel.cpp')
-rw-r--r--app/src/nativeappmodel.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/nativeappmodel.cpp b/app/src/nativeappmodel.cpp
index a5fa42d..fb48163 100644
--- a/app/src/nativeappmodel.cpp
+++ b/app/src/nativeappmodel.cpp
@@ -140,9 +140,12 @@ int NativeAppModel::launch(const QString& application) {
void NativeAppModel::uninstall(int index) {
const QString& id = this->d->data[index].id();
+
+ //afm_user_daemon_proxy->terminate(id);
+
QString result = afm_user_daemon_proxy->uninstall(id);
- if (result == "null") {
- beginRemoveRows(QModelIndex(), index, index);
+ if (result == "null") {
+ beginRemoveRows(QModelIndex(), index, index);
this->d->data.removeAt(index);
endRemoveRows();
}