on xenial help sign in
add a FIXME comment explaining why the hack is needed
bd15534Michael Zanetti
qml/Dash/GenericScopeView.qml+3
@@ -360,6 +360,9 @@ FocusScope {
360 scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviorOnNextCreation;
360 scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviorOnNextCreation;
361 }
361 }
362 }
362 }
363+ // FIXME: directly connecting to onUnitsChanged cause a compile error:
364+ // Cannot assign to non-existent property "onUnitsChanged"
365+ // Until the units object is reworked to properly do all we need, let's go through a intermediate property
363 property int pxpgu: units.gu(1);
366 property int pxpgu: units.gu(1);
364 onPxpguChanged: clickScopeSizingHacks();
367 onPxpguChanged: clickScopeSizingHacks();
365
368