Small stylistic improvement

wilder-5.14
Sebastian Kügler 13 years ago
parent 1da14a55c1
commit d208e28717
  1. 16
      view.cpp

@ -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…
Cancel
Save