mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
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:
parent
42ebc7e995
commit
026bf02c85
1 changed files with 4 additions and 0 deletions
|
@ -785,6 +785,10 @@ void UserAppsModel::buildAppList()
|
||||||
|
|
||||||
if(UserModel::instance()->appList().count() > 0) {
|
if(UserModel::instance()->appList().count() > 0) {
|
||||||
foreach(AccountApp *app, UserModel::instance()->appList()) {
|
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());
|
beginInsertRows(QModelIndex(), rowCount(), rowCount());
|
||||||
_apps << app;
|
_apps << app;
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
|
|
Loading…
Reference in a new issue