diff --git a/src/gui/tray/ActivityItemContent.qml b/src/gui/tray/ActivityItemContent.qml index 3aaef75752fc6..f63306cb16573 100644 --- a/src/gui/tray/ActivityItemContent.qml +++ b/src/gui/tray/ActivityItemContent.qml @@ -34,7 +34,7 @@ RowLayout { anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left cache: true - source: model.thumbnail.source + source: if(model.thumbnail !== undefined) model.thumbnail.source visible: false sourceSize.height: 64 sourceSize.width: 64 diff --git a/src/gui/tray/activitylistmodel.h b/src/gui/tray/activitylistmodel.h index 163f950c70116..2e82315478a2c 100644 --- a/src/gui/tray/activitylistmodel.h +++ b/src/gui/tray/activitylistmodel.h @@ -65,7 +65,7 @@ class ActivityListModel : public QAbstractListModel DisplayActions, ShareableRole, IsCurrentUserFileActivityRole, - ThumbnailRole + ThumbnailRole, }; Q_ENUM(DataRole)