diff options
author | Vyacheslav Koscheev <v.koscheev@2gis.ru> | 2017-08-29 04:27:06 +0700 |
---|---|---|
committer | Vyacheslav Koscheev <vok1980@gmail.com> | 2017-09-01 11:07:52 +0000 |
commit | 60eaf0f9432697416abdc758e003c9ac44962324 (patch) | |
tree | 602a07a6fe6fec8d6ff834692cc8891ffaaea9c8 /src/quicktemplates2/qquickdrawer.cpp | |
parent | bc2f84ad4a80401afd7d7b482fcab2487e87e1db (diff) |
Android: fix clang compilation with -qreal float
Change-Id: Ica7a417aa1bb531bc63e3fa9dda0505a6e552b67
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'src/quicktemplates2/qquickdrawer.cpp')
-rw-r--r-- | src/quicktemplates2/qquickdrawer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp index 45c9a3fe..c63d40d1 100644 --- a/src/quicktemplates2/qquickdrawer.cpp +++ b/src/quicktemplates2/qquickdrawer.cpp @@ -411,7 +411,7 @@ bool QQuickDrawerPrivate::handleMove(QQuickItem *item, const QPointF &point, ulo return false; // limit/reset the offset to the edge of the drawer when pushed from the outside - if (qFuzzyCompare(position, 1.0) && !contains(point)) + if (qFuzzyCompare(position, qreal(1.0)) && !contains(point)) offset = 0; bool isGrabbed = popupItem->keepMouseGrab() || popupItem->keepTouchGrab(); |