Fix QObject::connect() warnings
Adapt to changes in Plasma::Corona
This commit is contained in:
parent
09ccb8712b
commit
d2992acfa7
@ -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();
|
||||
|
@ -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.
|
||||
|
@ -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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user