Skip to content

Commit

Permalink
Fix code smell
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 Jan 4, 2022
1 parent 84fac63 commit 52aeb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/tray/activitylistmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ActivityListModel : public QAbstractListModel
void removeActivityFromActivityList(Activity activity);
void clearAll();

int maxActivities() { return _maxActivities; };
int maxActivities() const { return _maxActivities; };

Q_INVOKABLE void triggerDefaultAction(int activityIndex);
Q_INVOKABLE void triggerAction(int activityIndex, int actionIndex);
Expand Down

0 comments on commit 52aeb28

Please sign in to comment.