From d01f8803387f3750458357e336fbb7c5f1ca093a Mon Sep 17 00:00:00 2001 From: Digital Artifex <7929434+DigitalArtifex@users.noreply.github.com> Date: Tue, 16 Jun 2026 16:52:06 -0400 Subject: [PATCH] Changed constness of some functions --- KomplexHubPlugin/common/paginator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/KomplexHubPlugin/common/paginator.h b/KomplexHubPlugin/common/paginator.h index f31dbc3..641cbba 100644 --- a/KomplexHubPlugin/common/paginator.h +++ b/KomplexHubPlugin/common/paginator.h @@ -64,7 +64,7 @@ public: * * Attempts to get the next page and notifies pageChanged */ - auto next() const -> void + auto next() -> void { setOffset(m_offset + m_resultsPerPage); } @@ -74,7 +74,7 @@ public: * * Attempts to get the previous page and notifies pageChanged */ - auto previous() const -> void + auto previous() -> void { setOffset(m_offset - m_resultsPerPage); } @@ -149,7 +149,7 @@ public: * The total number of results as reported by the controller * @return */ - auto totalResults() -> qsizetype + auto totalResults() const -> qsizetype { return m_cacheController.totalCount(); }