mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
make near end of page const
This commit is contained in:
parent
0732f14f4b
commit
14d303629f
2 changed files with 2 additions and 2 deletions
|
|
@ -270,7 +270,7 @@ void VisualDatabaseDisplayWidget::onSearchModelChanged()
|
|||
}
|
||||
}
|
||||
|
||||
bool VisualDatabaseDisplayWidget::nearEndOfPage()
|
||||
bool VisualDatabaseDisplayWidget::nearEndOfPage() const
|
||||
{
|
||||
if (!flowWidget->isVisible()) {
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue