mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: mark Plasma::IconWidget::numDisplayLines() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
0296d36fec
commit
6b339097d2
2 changed files with 2 additions and 2 deletions
|
@ -456,7 +456,7 @@ QAction *IconWidget::action() const
|
|||
return d->action;
|
||||
}
|
||||
|
||||
int IconWidget::numDisplayLines()
|
||||
int IconWidget::numDisplayLines() const
|
||||
{
|
||||
return d->numDisplayLines;
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue