diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-11-16 18:11:44 +0300 |
---|---|---|
committer | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-11-16 18:11:44 +0300 |
commit | c59f88ca825796bef7e8788176e98b99f6582c44 (patch) | |
tree | f98f8b30b402876c9c1f361148c335586348285e /src/gui/tray/notificationhandler.h | |
parent | 3edfcff1a073a9bb5ee1dcc92f91465540bcfff3 (diff) |
avoid adding icon data in a cache we never use
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Diffstat (limited to 'src/gui/tray/notificationhandler.h')
-rw-r--r-- | src/gui/tray/notificationhandler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/tray/notificationhandler.h b/src/gui/tray/notificationhandler.h index 5bd824f5c..3f2622167 100644 --- a/src/gui/tray/notificationhandler.h +++ b/src/gui/tray/notificationhandler.h @@ -14,7 +14,6 @@ class ServerNotificationHandler : public QObject Q_OBJECT public: explicit ServerNotificationHandler(AccountState *accountState, QObject *parent = nullptr); - static QMap<int, QByteArray> iconCache; signals: void newNotificationList(ActivityList); @@ -25,7 +24,6 @@ public slots: private slots: void slotNotificationsReceived(const QJsonDocument &json, int statusCode); void slotEtagResponseHeaderReceived(const QByteArray &value, int statusCode); - void slotIconDownloaded(QByteArray iconData); void slotAllowDesktopNotificationsChanged(bool isAllowed); private: |