From: Camila Date: Tue, 29 Sep 2020 15:07:36 +0000 (+0200) Subject: Connect signal guiLog to slot to display systray message. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~22^2~138^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d2eb24a9a848a0baea7c8881017f81892fbdcdf1;p=nextcloud-desktop.git Connect signal guiLog to slot to display systray message. Signed-off-by: Camila --- diff --git a/src/gui/tray/UserModel.cpp b/src/gui/tray/UserModel.cpp index c0da8137b..6c6b5f49c 100644 --- a/src/gui/tray/UserModel.cpp +++ b/src/gui/tray/UserModel.cpp @@ -7,6 +7,7 @@ #include "ocsjob.h" #include "configfile.h" #include "notificationconfirmjob.h" +#include "logger.h" #include #include @@ -45,6 +46,8 @@ User::User(AccountStatePtr &account, const bool &isCurrent, QObject *parent) connect(_account->account().data(), &Account::accountChangedDisplayName, this, &User::nameChanged); connect(FolderMan::instance(), &FolderMan::folderListChanged, this, &User::hasLocalFolderChanged); + + connect(this, &User::guiLog, Logger::instance(), &Logger::guiLog); } void User::slotBuildNotificationDisplay(const ActivityList &list)