App menu: Filter out Talk because we have a dedicated button for it
authorMichael Schuster <michael@schuster.ms>
Wed, 15 Jan 2020 17:14:20 +0000 (18:14 +0100)
committerMichael Schuster <michael@schuster.ms>
Wed, 15 Jan 2020 17:14:20 +0000 (18:14 +0100)
Signed-off-by: Michael Schuster <michael@schuster.ms>
src/gui/tray/UserModel.cpp

index f367a8e56b603198b7e0d553498442ded7cb5670..08b679e51b67ac213745b8c77921e3b79c0e53e5 100644 (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();