Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tray/UserModel.cpp')
-rw-r--r--src/gui/tray/UserModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/tray/UserModel.cpp b/src/gui/tray/UserModel.cpp
index b7dbc8fed..4c0ebdd1e 100644
--- a/src/gui/tray/UserModel.cpp
+++ b/src/gui/tray/UserModel.cpp
@@ -770,7 +770,7 @@ void UserModel::fetchCurrentActivityModel()
AccountAppList UserModel::appList() const
{
- if (_users.count() >= 1) {
+ if (_users.count() > 0) {
return _users[_currentUserId]->appList();
} else {
return AccountAppList();