mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
libs: const-ify Plasma::WidgetExplorer constructor argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
797a038098
commit
e26a1a2986
2 changed files with 2 additions and 2 deletions
|
@ -598,7 +598,7 @@ void WidgetExplorerPrivate::_k_immutabilityChanged(const Plasma::ImmutabilityTyp
|
|||
}
|
||||
}
|
||||
|
||||
WidgetExplorer::WidgetExplorer(Plasma::Location loc, QGraphicsItem *parent)
|
||||
WidgetExplorer::WidgetExplorer(const Plasma::Location loc, QGraphicsItem *parent)
|
||||
: QGraphicsWidget(parent),
|
||||
d(new WidgetExplorerPrivate(this))
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ class PLASMAGENERICSHELL_EXPORT WidgetExplorer : public QGraphicsWidget
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit WidgetExplorer(Plasma::Location loc, QGraphicsItem *parent = nullptr);
|
||||
explicit WidgetExplorer(const Plasma::Location loc, QGraphicsItem *parent = nullptr);
|
||||
explicit WidgetExplorer(QGraphicsItem *parent = nullptr);
|
||||
~WidgetExplorer();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue