on xenial help sign in
Disable new ual signals for now, since we dont have them yet
commit86a08eff005eb72d37cc79a845f6d1d041ecaa4b authorMarius Gripsgard <marius@ubports.com> dateFri 16 Nov 2018, 00:34 (8 years ago) parentef92aa5
1 file changed+3−1
plugins/Unity/Launcher/ualwrapper.cpp+3−1
plugins/Unity/Launcher/ualwrapper.cpp+3−1
@@ -24,6 +24,7 @@ using namespace ubuntu::app_launch;
2424UalWrapper::UalWrapper(QObject *parent):
2525 QObject(parent)
2626{
27+/* Disable for now
2728 Registry::appAdded().connect([this](const std::shared_ptr<Application>&app) {
2829 Q_EMIT appAdded(QString::fromStdString(app->appId()));
2930 });
@@ -33,6 +34,7 @@ UalWrapper::UalWrapper(QObject *parent):
3334 Registry::appInfoUpdated().connect([this](const std::shared_ptr<Application>&app){
3435 Q_EMIT appInfoChanged(QString::fromStdString(app->appId()));
3536 });
37+*/
3638}
3739
3840QStringList UalWrapper::installedApps()
@@ -73,7 +75,7 @@ UalWrapper::AppInfo UalWrapper::getApplicationInfo(const QString &appId)
7375 for (const std::string &keyword : ualApp->info()->keywords().value()) {
7476 info.keywords << QString::fromStdString(keyword);
7577 }
76− info.popularity = ualApp->info()->popularity();
78+ //info.popularity = ualApp->info()->popularity();
7779 info.valid = true;
7880 } catch (const std::runtime_error &e) {
7981 qWarning() << "ubuntu-app-launch threw an exception getting app info for appId:" << appId << ":" << e.what();