make near end of page const

This commit is contained in:
ebbit1q 2026-05-13 14:47:25 +02:00
parent 0732f14f4b
commit 14d303629f
2 changed files with 2 additions and 2 deletions

View file

@ -270,7 +270,7 @@ void VisualDatabaseDisplayWidget::onSearchModelChanged()
}
}
bool VisualDatabaseDisplayWidget::nearEndOfPage()
bool VisualDatabaseDisplayWidget::nearEndOfPage() const
{
if (!flowWidget->isVisible()) {
return false;

View file

@ -122,7 +122,7 @@ private:
int cardsPerPage = 100; // Number of cards per page
void highlightAllSearchEdit();
bool nearEndOfPage();
bool nearEndOfPage() const;
protected:
void resizeEvent(QResizeEvent *event) override;