get rid of actions()
redundant function
This commit is contained in:
parent
01d1509c7c
commit
8c65f60de5
@ -71,14 +71,6 @@ void PanelConfigView::init()
|
||||
syncGeometry();
|
||||
}
|
||||
|
||||
QAction *PanelConfigView::action(const QString &name)
|
||||
{
|
||||
if (m_containment) {
|
||||
return m_containment->actions()->action(name);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void PanelConfigView::updateContrast()
|
||||
{
|
||||
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),
|
||||
|
@ -47,8 +47,6 @@ public:
|
||||
|
||||
void init();
|
||||
|
||||
Q_INVOKABLE QAction *action(const QString &name);
|
||||
|
||||
public Q_SLOTS:
|
||||
void showAddWidgetDialog();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user