Skip to content

Commit

Permalink
Address Matthieu's comments
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
  • Loading branch information
claucambra committed Mar 9, 2022
1 parent 74e2379 commit 988ae6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/tray/ActivityItemContent.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/gui/tray/activitylistmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ActivityListModel : public QAbstractListModel
DisplayActions,
ShareableRole,
IsCurrentUserFileActivityRole,
ThumbnailRole
ThumbnailRole,
};
Q_ENUM(DataRole)

Expand Down

0 comments on commit 988ae6d

Please sign in to comment.