@@ -40,7 +40,6 @@ LauncherModel::LauncherModel(QObject *parent):
41 connect(m_dbusIface, &DBusInterface::countChanged, this, &LauncherModel::countChanged);
41 connect(m_dbusIface, &DBusInterface::countChanged, this, &LauncherModel::countChanged);
42 connect(m_dbusIface, &DBusInterface::countVisibleChanged, this, &LauncherModel::countVisibleChanged);
42 connect(m_dbusIface, &DBusInterface::countVisibleChanged, this, &LauncherModel::countVisibleChanged);
43− connect(m_dbusIface, &DBusInterface::runningChanged, this, &LauncherModel::runningChanged);
44 connect(m_dbusIface, &DBusInterface::refreshCalled, this, &LauncherModel::refresh);
43 connect(m_dbusIface, &DBusInterface::refreshCalled, this, &LauncherModel::refresh);
46 connect(m_settings, &GSettings::changed, this, &LauncherModel::refresh);
45 connect(m_settings, &GSettings::changed, this, &LauncherModel::refresh);
@@ -198,7 +197,9 @@ void LauncherModel::quickListActionInvoked(const QString &appId, int actionIndex
198 } else if (actionId == "launch_item") {
197 } else if (actionId == "launch_item") {
199 QDesktopServices::openUrl(getUrlForAppId(appId));
198 QDesktopServices::openUrl(getUrlForAppId(appId));
200 } else if (actionId == "stop_item") { // Quit
199 } else if (actionId == "stop_item") { // Quit
201− m_appManager->stopApplication(appId);
201+ m_appManager->stopApplication(appId);
202 // Nope, we don't know this action, let the backend forward it to the application
203 // Nope, we don't know this action, let the backend forward it to the application
204 // TODO: forward quicklist action to app, possibly via m_dbusIface
205 // TODO: forward quicklist action to app, possibly via m_dbusIface
@@ -335,17 +336,6 @@ void LauncherModel::progressChanged(const QString &appId, int progress)
338−void LauncherModel::runningChanged(const QString &appId, bool running)
340− const int idx = findApplication(appId);
342− LauncherItem *item = m_list.at(idx);
343− item->setRunning(running);
344− m_asAdapter->syncItems(m_list);
345− Q_EMIT dataChanged(index(idx), index(idx), {RoleRunning});
349void LauncherModel::countChanged(const QString &appId, int count)
339void LauncherModel::countChanged(const QString &appId, int count)
351 const int idx = findApplication(appId);
341 const int idx = findApplication(appId);