@@ -87,7 +87,7 @@ Rectangle {
88 tryCompareFunction(function () {
88 tryCompareFunction(function () {
89 var bottomLeft = preview.mapFromItem(widget, 0, widget.height);
89 var bottomLeft = preview.mapFromItem(widget, 0, widget.height);
90− return bottomLeft.y <= preview.height
90+ return bottomLeft.y <= preview.height + 1 // FIXME the +1 is to workaround https://bugreports.qt.io/browse/QTBUG-56961
@@ -102,7 +102,7 @@ Rectangle {
103 tryCompareFunction(function () {
103 tryCompareFunction(function () {
104 var bottomLeft = preview.mapFromItem(widget, 0, widget.height);
104 var bottomLeft = preview.mapFromItem(widget, 0, widget.height);
105− return bottomLeft.y <= preview.height
105+ return bottomLeft.y <= preview.height + 1 // FIXME the +1 is to workaround https://bugreports.qt.io/browse/QTBUG-56961
106 }, true);
106 }, true);
@@ -125,7 +125,7 @@ Rectangle {
125 // Make sure the combo bottom is on the viewport
125 // Make sure the combo bottom is on the viewport
126 tryCompareFunction(function () {
126 tryCompareFunction(function () {
127 var bottomLeft = preview.mapFromItem(widget, 0, widget.height);
127 var bottomLeft = preview.mapFromItem(widget, 0, widget.height);
128− return bottomLeft.y <= preview.height
128+ return bottomLeft.y <= preview.height + 1 // FIXME the +1 is to workaround https://bugreports.qt.io/browse/QTBUG-56961
129 }, true);
129 }, true);