projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42ebc7e
)
App menu: Filter out Talk because we have a dedicated button for it
author
Michael Schuster
<michael@schuster.ms>
Wed, 15 Jan 2020 17:14:20 +0000
(18:14 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/src/gui/tray/UserModel.cpp
b/src/gui/tray/UserModel.cpp
index f367a8e56b603198b7e0d553498442ded7cb5670..08b679e51b67ac213745b8c77921e3b79c0e53e5 100644
(file)
--- a/
src/gui/tray/UserModel.cpp
+++ b/
src/gui/tray/UserModel.cpp
@@
-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();