diff --git a/src/appmanagermodel.cpp b/src/appmanagermodel.cpp index 8f029fbf9f28ee682b9ff607848dda11e86eeaef..9feac2043490ad644e7a3b100ce0b1d1451ed35d 100644 --- a/src/appmanagermodel.cpp +++ b/src/appmanagermodel.cpp @@ -71,21 +71,23 @@ QList AppManagerModel::getSearchedAppInfoList() const void AppManagerModel::openStoreAppDetailPage(const QString &pkgName) { QProcess proc; - QString cmd = QString("qdbus com.home.appstore.client " - "/com/home/appstore/client " - "com.home.appstore.client.openBusinessUri " - "\"app_detail_info/%1\"") - .arg(pkgName); + QString cmd; + cmd = QString("qdbus com.home.appstore.client " + "/com/home/appstore/client " + "com.home.appstore.client.newInstence"); proc.start(cmd); proc.waitForStarted(); proc.waitForFinished(); cmd = QString("qdbus com.home.appstore.client " - "/com/home/appstore/client " - "com.home.appstore.client.newInstence"); + "/com/home/appstore/client " + "com.home.appstore.client.openBusinessUri " + "\"app_detail_info/%1\"") + .arg(pkgName); proc.start(cmd); proc.waitForStarted(); proc.waitForFinished(); + } void AppManagerModel::openSpkStoreAppDetailPage(const QString &pkgName)