App menu: Filter out Talk because we have a dedicated button for it

Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
Michael Schuster 2020-01-15 18:14:20 +01:00
parent 42ebc7e995
commit 026bf02c85
No known key found for this signature in database
GPG key ID: 00819E3BF4177B28

View file

@ -785,6 +785,10 @@ void UserAppsModel::buildAppList()
if(UserModel::instance()->appList().count() > 0) {
foreach(AccountApp *app, UserModel::instance()->appList()) {
// Filter out Talk because we have a dedicated button for it
if(app->id() == QLatin1String("spreed"))
continue;
beginInsertRows(QModelIndex(), rowCount(), rowCount());
_apps << app;
endInsertRows();