Commit 159f1a1a authored by David Redondo's avatar David Redondo 🏎
Browse files

Remove dead code related to widget explorer extraActions

I think they once were meant to provide an action to switch to the activity
switcher (At least I figured from watching a KDE 4.9 video).
parent 38ebcf09
......@@ -233,16 +233,6 @@ QList <QObject *> WidgetExplorer::widgetsMenuActions()
return actionList;
}
QList<QObject *> WidgetExplorer::extraActions() const
{
QList<QObject *> actionList;
// foreach (QAction *action, actions()) { // FIXME: where did actions() come from?
// actionList << action;
// }
qWarning() << "extraactions needs reimplementation";
return actionList;
}
void WidgetExplorerPrivate::initRunningApplets()
{
//get applets from corona, count them, send results to model
......
......@@ -76,11 +76,6 @@ class WidgetExplorer : public QObject, public QQmlParserStatus
*/
Q_PROPERTY(QList<QObject *> widgetsMenuActions READ widgetsMenuActions NOTIFY widgetsMenuActionsChanged)
/**
* Extra actions assigned by the shell, like switch to activity manager
*/
Q_PROPERTY(QList<QObject *> extraActions READ extraActions NOTIFY extraActionsChanged)
/**
* The application that owns the widget list. different application may show different lists
*/
......@@ -135,7 +130,6 @@ public:
void setShowSpecialFilters(bool show);
QList <QObject *> widgetsMenuActions();
QList <QObject *> extraActions() const;
/**
* Uninstall a plasmoid with a given plugin name. only user-installed ones are uninstallable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment