diff --git a/src/plasma/corona.cpp b/src/plasma/corona.cpp index eb69ac02f..9a937b002 100644 --- a/src/plasma/corona.cpp +++ b/src/plasma/corona.cpp @@ -444,8 +444,8 @@ Containment *CoronaPrivate::addContainment(const QString &name, const QVariantLi q, SLOT(containmentDestroyed(QObject*))); QObject::connect(containment, SIGNAL(configNeedsSaving()), q, SLOT(requestConfigSync())); - QObject::connect(containment, SIGNAL(screenChanged(int,int,Plasma::Containment*)), - q, SIGNAL(screenOwnerChanged(int,int,Plasma::Containment*))); + QObject::connect(containment, SIGNAL(screenChanged(int)), + q, SIGNAL(screenOwnerChanged(int))); containment->init(); KConfigGroup cg = containment->config(); diff --git a/src/plasma/corona.h b/src/plasma/corona.h index cb4668b67..c5016da0a 100644 --- a/src/plasma/corona.h +++ b/src/plasma/corona.h @@ -217,11 +217,9 @@ Q_SIGNALS: * This signal indicates that a containment has been newly * associated (or dissociated) with a physical screen. * - * @param wasScreen the screen it was associated with * @param isScreen the screen it is now associated with - * @param containment the containment switching screens */ - void screenOwnerChanged(int wasScreen, int isScreen, Plasma::Containment *containment); + void screenOwnerChanged(int isScreen); /** * This signal indicates that the configuration file was flushed to disk. diff --git a/src/shell/shellcorona.cpp b/src/shell/shellcorona.cpp index fda2a3646..2870402e4 100644 --- a/src/shell/shellcorona.cpp +++ b/src/shell/shellcorona.cpp @@ -139,9 +139,6 @@ ShellCorona::ShellCorona(QObject *parent) activityAction->setShortcut(QKeySequence("alt+d, alt+a")); activityAction->setShortcutContext(Qt::ApplicationShortcut); - connect(this, SIGNAL(immutabilityChanged(Plasma::ImmutabilityType)), - this, SLOT(updateImmutability(Plasma::ImmutabilityType))); - connect(d->activityConsumer, SIGNAL(currentActivityChanged(QString)), this, SLOT(currentActivityChanged(QString))); connect(d->activityConsumer, SIGNAL(activityAdded(QString)), this, SLOT(activityAdded(QString))); connect(d->activityConsumer, SIGNAL(activityRemoved(QString)), this, SLOT(activityRemoved(QString)));