add a FIXME comment explaining why the hack is needed
commitbd1553488ed6d9103f94f128cb934230d7596dac
authorMichael Zanetti <michael.zanetti@canonical.com>
dateFri 29 Apr 2016, 15:26 (10 years ago)
parentad78cd4
qml/Dash/GenericScopeView.qml+3
@@ -360,6 +360,9 @@ FocusScope {
360360 scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviorOnNextCreation;
361361 }
362362 }
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
363366 property int pxpgu: units.gu(1);
364367 onPxpguChanged: clickScopeSizingHacks();
365368