libs: const-ify the Plasma::WidgetExplorerPrivate::init() argument

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-09-16 07:54:08 +03:00
parent df437902d7
commit 87950238cf

View file

@ -263,7 +263,7 @@ public:
{
}
void init(Plasma::Location loc);
void init(const Plasma::Location loc);
void updateApplets();
void updateRunningApplets();
void filterApplets(const QString &text);
@ -301,7 +301,7 @@ public:
QMap<Plasma::Applet*,QString> runningApplets;
};
void WidgetExplorerPrivate::init(Plasma::Location loc)
void WidgetExplorerPrivate::init(const Plasma::Location loc)
{
q->setFocusPolicy(Qt::StrongFocus);