also update launchertest's mocked appmanager to the new api
commit47c78e10c2ce3746e4aeacc4edaf45e02da4f25c
authorMichael Zanetti <michael.zanetti@canonical.com>
dateTue 11 Mar 2014, 12:43 (13 years ago)
parent413fdc9
tests/plugins/Unity/Launcher/launchermodeltest.cpp+2−2
@@ -93,8 +93,8 @@ public:
9393 m_list.takeAt(index)->deleteLater();
9494 endRemoveRows();
9595 }
96− void updateScreenshot(const QString &appId) { Q_UNUSED(appId); }
97− void activateApplication(const QString &appId) { Q_UNUSED(appId); }
96+ bool updateScreenshot(const QString &appId) { Q_UNUSED(appId); return true; }
97+ bool requestFocusApplication(const QString &appId) { Q_UNUSED(appId); return true; }
9898 bool suspended() const { return false; }
9999 void setSuspended(bool) {}
100100