Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed regression in setting acceleration
The regression was introduced in #645, probably because `Float` wasn't a member of `QVariant`. (Dear contributors, please don't include unrelated changes into a single PR!) The patch fixes the problem by using`QMetaType::Type`. As Qt doc says, the return value of `QVariant::Type QVariant::type()` should be interpreted as `QMetaType::Type` (see https://doc.qt.io/qt-5/qvariant.html#type). Fixes #676
- Loading branch information