get rid of actions()

redundant function
This commit is contained in:
Marco Martin 2014-02-21 18:57:31 +01:00
parent 01d1509c7c
commit 8c65f60de5
2 changed files with 0 additions and 10 deletions

View File

@ -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(),

View File

@ -47,8 +47,6 @@ public:
void init();
Q_INVOKABLE QAction *action(const QString &name);
public Q_SLOTS:
void showAddWidgetDialog();