Fix build issues when qreal == float.
ClosedPublic

Authored by denexter on Oct 29 2019, 5:53 AM.

Details

Summary

Use explicit template arguments or cast double literals to qreal where there are ambiguities resolving template overloads.

Diff Detail

Repository
R478 KDiagram: Libraries for diagrams
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
denexter requested review of this revision.Oct 29 2019, 5:53 AM
denexter created this revision.
pvuorela accepted this revision.Oct 31 2019, 10:03 AM

Looks good to me.

This revision is now accepted and ready to land.Oct 31 2019, 10:03 AM
This revision was automatically updated to reflect the committed changes.