mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Expose max activities in TestingALM
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
26777175b7
commit
b3f209e6fe
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ class TestingALM : public OCC::ActivityListModel
|
|||
public:
|
||||
TestingALM() = default;
|
||||
|
||||
int maxActivities() const { return _maxActivities; };
|
||||
// Need to include the dummy "show more in activities app" activity
|
||||
int maxPossibleActivities() const { return maxActivities() + 1; }
|
||||
|
||||
public slots:
|
||||
void startFetchJob() override;
|
||||
void startMaxActivitiesFetchJob();
|
||||
|
|
Loading…
Reference in a new issue