diff --git a/plasma/applet.cpp b/plasma/applet.cpp index bc154324..2918c89f 100644 --- a/plasma/applet.cpp +++ b/plasma/applet.cpp @@ -1719,8 +1719,6 @@ void Applet::showConfigurationInterface() KConfigDialog *dialog = d->generateGenericConfigDialog(); d->addStandardConfigurationPages(dialog); showConfigurationInterface(dialog); - - emit releaseVisualFocus(); } void Applet::showConfigurationInterface(QWidget *widget) diff --git a/plasma/applet.h b/plasma/applet.h index 1bbe320a..59686bfc 100644 --- a/plasma/applet.h +++ b/plasma/applet.h @@ -611,15 +611,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget */ bool hasValidAssociatedApplication() const; - Q_SIGNALS: - /** - * This signal indicates that an application launch, window - * creation or window focus event was triggered. This is used, for instance, - * to ensure that the Dashboard view in Plasma Desktop hides when such an event is - * triggered by an item it is displaying. - */ - void releaseVisualFocus(); - Q_SIGNALS: /** * Emitted when the user completes a transformation of the applet. diff --git a/plasma/containment.cpp b/plasma/containment.cpp index 6ad3ee5f..c6e425a0 100644 --- a/plasma/containment.cpp +++ b/plasma/containment.cpp @@ -849,7 +849,6 @@ void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit) d->applets << applet; connect(applet, SIGNAL(configNeedsSaving()), this, SIGNAL(configNeedsSaving())); - connect(applet, SIGNAL(releaseVisualFocus()), this, SIGNAL(releaseVisualFocus())); connect(applet, SIGNAL(appletDestroyed(Plasma::Applet*)), this, SLOT(appletDestroyed(Plasma::Applet*))); connect(applet, SIGNAL(newStatus(Plasma::ItemStatus)), this, SLOT(checkStatus(Plasma::ItemStatus))); connect(applet, SIGNAL(activate()), this, SIGNAL(activate())); diff --git a/plasma/corona.cpp b/plasma/corona.cpp index 1d94168e..e54f4fc4 100644 --- a/plasma/corona.cpp +++ b/plasma/corona.cpp @@ -951,8 +951,6 @@ Containment *CoronaPrivate::addContainment(const QString &name, const QVariantLi q, SLOT(containmentDestroyed(QObject*))); QObject::connect(containment, SIGNAL(configNeedsSaving()), q, SLOT(requestConfigSync())); - QObject::connect(containment, SIGNAL(releaseVisualFocus()), - q, SIGNAL(releaseVisualFocus())); QObject::connect(containment, SIGNAL(screenChanged(int,int,Plasma::Containment*)), q, SIGNAL(screenOwnerChanged(int,int,Plasma::Containment*))); diff --git a/plasma/corona.h b/plasma/corona.h index 2c62d731..08e01c26 100644 --- a/plasma/corona.h +++ b/plasma/corona.h @@ -379,14 +379,6 @@ Q_SIGNALS: */ void screenOwnerChanged(int wasScreen, int isScreen, Plasma::Containment *containment); - /** - * This signal indicates that an application launch, window - * creation or window focus event was triggered. This is used, for instance, - * to ensure that the Dashboard view in Plasma hides when such an event is - * triggered by an item it is displaying. - */ - void releaseVisualFocus(); - /** * This signal indicates that the configuration file was flushed to disc. */