mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
plasma: mark Plasma::FrameSvg::prefix() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
614724f90e
commit
78fa7ed2c6
2 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@ bool FrameSvg::hasElementPrefix(Plasma::Location location) const
|
|||
}
|
||||
}
|
||||
|
||||
QString FrameSvg::prefix()
|
||||
QString FrameSvg::prefix() const
|
||||
{
|
||||
if (d->prefix.isEmpty()) {
|
||||
return d->prefix;
|
||||
|
|
|
@ -207,7 +207,7 @@ class PLASMA_EXPORT FrameSvg : public Svg
|
|||
* Returns the prefix for SVG elements of the FrameSvg
|
||||
* @return the prefix
|
||||
*/
|
||||
Q_INVOKABLE QString prefix();
|
||||
Q_INVOKABLE QString prefix() const;
|
||||
|
||||
/**
|
||||
* Returns a mask that tightly contains the fully opaque areas of the svg
|
||||
|
|
Loading…
Add table
Reference in a new issue