Commit 7371bac9 authored by Andy Shaw's avatar Andy Shaw Committed by The Qt Project
Browse files

Use QMetaType::Float as this is what type() returns now


QVariant::Type is obsolete and type() is really returning a
QMetaType::Type instead. So for the float case we just add that in to
ensure it works as before in Qt 4.x.

Change-Id: I190a4eb2c37492386ea202fc52d39b431e5f02ff
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent 35e1b7dd
No related merge requests found
Showing with 1 addition and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment