-
Committer:
Tarmac
-
Author(s):
Lars Uebernickel
-
Date:
2013-10-01 15:46:27 UTC
-
mfrom:
(91.1.1 trunk)
-
Revision ID:
tarmac-20131001154627-n4u0nes4m7p2e9bl
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.
. Fixes: https://bugs.launchpad.net/bugs/1233274.
Approved by Sebastien Bacher, PS Jenkins bot.