remove ContainmentPrivate::globalContainmentActionPlugins
This commit is contained in:
parent
342146b2fc
commit
2f2039ed23
@ -586,14 +586,7 @@ void Containment::addContainmentActions(const QString &trigger, const QString &p
|
||||
|
||||
QHash<QString, ContainmentActions*> &Containment::containmentActions()
|
||||
{
|
||||
switch (d->containmentActionsSource) {
|
||||
case ContainmentActions::Activity:
|
||||
//FIXME
|
||||
case ContainmentActions::Local:
|
||||
return d->localActionPlugins;
|
||||
default:
|
||||
return d->globalActionPlugins;
|
||||
}
|
||||
return d->localActionPlugins;
|
||||
}
|
||||
|
||||
void Containment::setActivity(const QString &activityId)
|
||||
|
@ -41,8 +41,6 @@
|
||||
namespace Plasma
|
||||
{
|
||||
|
||||
QHash<QString, ContainmentActions*> ContainmentPrivate::globalActionPlugins;
|
||||
|
||||
const char ContainmentPrivate::defaultWallpaper[] = "image";
|
||||
const char ContainmentPrivate::defaultWallpaperMode[] = "SingleImage";
|
||||
|
||||
|
@ -111,7 +111,6 @@ public:
|
||||
bool drawWallpaper : 1;
|
||||
|
||||
ContainmentActions::ContainmentActionsSource containmentActionsSource;
|
||||
static QHash<QString, ContainmentActions*> globalActionPlugins;
|
||||
static const char defaultWallpaper[];
|
||||
static const char defaultWallpaperMode[];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user