mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
plasma: const-ify Dialog::graphicsWidget() getter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
81870c59a8
commit
792357e82e
2 changed files with 2 additions and 3 deletions
|
@ -660,8 +660,7 @@ void Dialog::setGraphicsWidget(QGraphicsWidget *widget)
|
|||
}
|
||||
}
|
||||
|
||||
//KDE5 FIXME: should be const
|
||||
QGraphicsWidget *Dialog::graphicsWidget()
|
||||
QGraphicsWidget *Dialog::graphicsWidget() const
|
||||
{
|
||||
return d->graphicsWidgetPtr.data();
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ class PLASMA_EXPORT Dialog : public QWidget
|
|||
/**
|
||||
* @return the graphics widget shown in this dialog
|
||||
*/
|
||||
QGraphicsWidget *graphicsWidget();
|
||||
QGraphicsWidget *graphicsWidget() const;
|
||||
|
||||
/**
|
||||
* @param corners the corners the resize handlers should be placed in.
|
||||
|
|
Loading…
Add table
Reference in a new issue