Merge lp:~larsu/qmenumodel/maintain-action-state-type into lp:~phablet-team/qmenumodel/trunk
Proposed by
Lars Karlitski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Lars Karlitski | ||||
Approved revision: | 92 | ||||
Merged at revision: | 92 | ||||
Proposed branch: | lp:~larsu/qmenumodel/maintain-action-state-type | ||||
Merge into: | lp:~phablet-team/qmenumodel/trunk | ||||
Diff against target: |
29 lines (+7/-4) 1 file modified
libqmenumodel/src/qstateaction.cpp (+7/-4) |
||||
To merge this branch: | bzr merge lp:~larsu/qmenumodel/maintain-action-state-type | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Ubuntu Phablet Team | Pending | ||
Review via email:
|
Description of the change
QStateAction: try to maintain the type of the action's state
QML likes to convert doubles to integers if the number is close enough to an integer. This tries to circumvent that by explicitly casting to the right action type, because that's what exporters of GActionGroups expect.
To post a comment you must log in.
FAILED: Continuous integration, rev:92 jenkins. qa.ubuntu. com/job/ qmenumodel- ci/35/ jenkins. qa.ubuntu. com/job/ qmenumodel- saucy-amd64- ci/32/console jenkins. qa.ubuntu. com/job/ qmenumodel- saucy-armhf- ci/32 jenkins. qa.ubuntu. com/job/ qmenumodel- saucy-armhf- ci/32/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ qmenumodel- ci/35/rebuild
http://