plasma: mark Plasma::IconWidget::numDisplayLines() as const

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-30 23:14:37 +03:00
parent 0296d36fec
commit 6b339097d2
2 changed files with 2 additions and 2 deletions

View file

@ -456,7 +456,7 @@ QAction *IconWidget::action() const
return d->action;
}
int IconWidget::numDisplayLines()
int IconWidget::numDisplayLines() const
{
return d->numDisplayLines;
}

View file

@ -287,7 +287,7 @@ public:
/**
* @return the number of lines allowed to display
*/
int numDisplayLines();
int numDisplayLines() const;
/**
* @param numLines the number of lines to show in the display.