on xenial help sign in
countVisible is a bool, not an int
3d6c53cMichael Zanetti
plugins/Unity/Launcher/launchermodel.cpp+1−1
@@ -357,7 +357,7 @@ void LauncherModel::countChanged(const QString &appId, int count)
357 }
357 }
358}
358}
359
359
360−void LauncherModel::countVisibleChanged(const QString &appId, int countVisible)
360+void LauncherModel::countVisibleChanged(const QString &appId, bool countVisible)
361{
361{
362 int idx = findApplication(appId);
362 int idx = findApplication(appId);
363 if (idx >= 0) {
363 if (idx >= 0) {
plugins/Unity/Launcher/launchermodel.h+1−1
@@ -73,7 +73,7 @@ private:
73
73
74private Q_SLOTS:
74private Q_SLOTS:
75 void countChanged(const QString &appId, int count);
75 void countChanged(const QString &appId, int count);
76− void countVisibleChanged(const QString &appId, int count);
76+ void countVisibleChanged(const QString &appId, bool count);
77 void progressChanged(const QString &appId, int progress);
77 void progressChanged(const QString &appId, int progress);
78
78
79 void applicationAdded(const QModelIndex &parent, int row);
79 void applicationAdded(const QModelIndex &parent, int row);