meven created this revision.
meven added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.

REVISION SUMMARY
  Since serial property cannot change and has no NOTIFY function, mark it as 
constant, to avoid warnings when the property is used in qml expression.
  For instance in kinfocenter energy_info kcm :
  QQmlExpression: Expression 
file:///home/meven/kde/usr/share/kpackage/kcms/kcm_energyinfo/contents/ui/main.qml:452:29
 depends on non-NOTIFYable properties:
  
    Solid::Battery::serial

REPOSITORY
  R245 Solid

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23598

AFFECTED FILES
  src/solid/devices/frontend/battery.h

To: meven, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

Reply via email to