Small stylistic improvement
This commit is contained in:
parent
b9723c3142
commit
6628cf0a7c
@ -100,17 +100,17 @@ void View::setContainment(Plasma::Containment *cont)
|
||||
|
||||
emit containmentChanged();
|
||||
|
||||
if (cont) {
|
||||
connect(cont, &Plasma::Containment::locationChanged,
|
||||
this, &View::locationChanged);
|
||||
connect(cont, &Plasma::Containment::formFactorChanged,
|
||||
this, &View::formFactorChanged);
|
||||
connect(cont, &Plasma::Containment::configureRequested,
|
||||
this, &View::showConfigurationInterface);
|
||||
} else {
|
||||
if (!cont) {
|
||||
return;
|
||||
}
|
||||
|
||||
connect(cont, &Plasma::Containment::locationChanged,
|
||||
this, &View::locationChanged);
|
||||
connect(cont, &Plasma::Containment::formFactorChanged,
|
||||
this, &View::formFactorChanged);
|
||||
connect(cont, &Plasma::Containment::configureRequested,
|
||||
this, &View::showConfigurationInterface);
|
||||
|
||||
QObject *graphicObject = m_containment.data()->property("graphicObject").value<QObject *>();
|
||||
|
||||
if (graphicObject) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user